Sync
This commit is contained in:
Kroese 2023-04-26 21:21:56 +02:00 committed by GitHub
commit 688bc4e2d8
3 changed files with 13 additions and 8 deletions

View file

@ -5,6 +5,7 @@ on:
- master - master
paths: paths:
- readme.md - readme.md
- README.md
- .github/workflows/hub.yml - .github/workflows/hub.yml
jobs: jobs:

View file

@ -4,10 +4,14 @@ on:
- master - master
paths: paths:
- '**/*.sh' - '**/*.sh'
- '.github/workflows/test.yml'
- '.github/workflows/check.yml'
pull_request: pull_request:
paths: paths:
- '**/*.sh' - '**/*.sh'
- '.github/workflows/test.yml'
- '.github/workflows/check.yml'
name: "Test" name: "Test"
permissions: {} permissions: {}

View file

@ -3,11 +3,11 @@ set -eu
# Docker environment variabeles # Docker environment variabeles
: ${BOOT:=''} # URL of the ISO file : ${BOOT:=''} # URL of the ISO file
: ${DEBUG:='N'} # Enable debug mode : ${DEBUG:='N'} # Enable debug mode
: ${ALLOCATE:='Y'} # Preallocate diskspace : ${ALLOCATE:='Y'} # Preallocate diskspace
: ${CPU_CORES:='1'} # Amount of CPU cores : ${CPU_CORES:='1'} # Amount of CPU cores
: ${DISK_SIZE:='16G'} # Initial data disk size : ${DISK_SIZE:='16G'} # Initial data disk size
: ${RAM_SIZE:='512M'} # Maximum RAM amount : ${RAM_SIZE:='512M'} # Maximum RAM amount
echo "Starting QEMU for Docker v${VERSION}..." echo "Starting QEMU for Docker v${VERSION}..."
@ -68,5 +68,5 @@ set +m
if (( KERNEL > 4 )); then if (( KERNEL > 4 )); then
pidwait -F "${_QEMU_PID}" & wait $! pidwait -F "${_QEMU_PID}" & wait $!
else else
tail --pid "$(cat ${_QEMU_PID})" --follow /dev/null & wait $! tail --pid "$(cat "${_QEMU_PID}")" --follow /dev/null & wait $!
fi fi