From 8536efe63558672a70df54c6685b60f787a21bf1 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 26 Apr 2023 21:20:50 +0200 Subject: [PATCH] Sync --- run/run.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/run/run.sh b/run/run.sh index 2e0dd99..9c4ab7f 100755 --- a/run/run.sh +++ b/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