Sync
Sync
This commit is contained in:
commit
688bc4e2d8
3 changed files with 13 additions and 8 deletions
1
.github/workflows/hub.yml
vendored
1
.github/workflows/hub.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
- master
|
||||
paths:
|
||||
- readme.md
|
||||
- README.md
|
||||
- .github/workflows/hub.yml
|
||||
|
||||
jobs:
|
||||
|
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -4,11 +4,15 @@ on:
|
|||
- master
|
||||
paths:
|
||||
- '**/*.sh'
|
||||
|
||||
- '.github/workflows/test.yml'
|
||||
- '.github/workflows/check.yml'
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- '**/*.sh'
|
||||
|
||||
- '.github/workflows/test.yml'
|
||||
- '.github/workflows/check.yml'
|
||||
|
||||
name: "Test"
|
||||
permissions: {}
|
||||
|
||||
|
|
12
run/run.sh
12
run/run.sh
|
@ -3,11 +3,11 @@ set -eu
|
|||
|
||||
# Docker environment variabeles
|
||||
|
||||
: ${BOOT:=''} # URL of the ISO file
|
||||
: ${DEBUG:='N'} # Enable debug mode
|
||||
: ${ALLOCATE:='Y'} # Preallocate diskspace
|
||||
: ${CPU_CORES:='1'} # Amount of CPU cores
|
||||
: ${DISK_SIZE:='16G'} # Initial data disk size
|
||||
: ${BOOT:=''} # URL of the ISO file
|
||||
: ${DEBUG:='N'} # Enable debug mode
|
||||
: ${ALLOCATE:='Y'} # Preallocate diskspace
|
||||
: ${CPU_CORES:='1'} # Amount of CPU cores
|
||||
: ${DISK_SIZE:='16G'} # Initial data disk size
|
||||
: ${RAM_SIZE:='512M'} # Maximum RAM amount
|
||||
|
||||
echo "Starting QEMU for Docker v${VERSION}..."
|
||||
|
@ -68,5 +68,5 @@ set +m
|
|||
if (( KERNEL > 4 )); then
|
||||
pidwait -F "${_QEMU_PID}" & wait $!
|
||||
else
|
||||
tail --pid "$(cat ${_QEMU_PID})" --follow /dev/null & wait $!
|
||||
tail --pid "$(cat "${_QEMU_PID}")" --follow /dev/null & wait $!
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue