diff --git a/run/disk.sh b/run/disk.sh index 9eb88f3..8d664db 100644 --- a/run/disk.sh +++ b/run/disk.sh @@ -3,8 +3,8 @@ set -eu # Docker environment variabeles -: ${DISK_IO:='native'} # I/O Mode, can be set to 'native', 'threads' or 'io_turing' -: ${DISK_ROTATION:='1'} # Rotation rate, set to 1 for SSD storage and increase for HDD +: ${DISK_IO:='native'} # I/O Mode, can be set to 'native', 'threads' or 'io_turing' +: ${DISK_ROTATION:='1'} # Rotation rate, set to 1 for SSD storage and increase for HDD : ${DISK_CACHE:='none'} # Caching mode, can be set to 'writeback' for better performance BOOT="$STORAGE/boot.img" diff --git a/run/run.sh b/run/run.sh index 9c4ab7f..6567a2c 100755 --- a/run/run.sh +++ b/run/run.sh @@ -3,12 +3,12 @@ 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 -: ${RAM_SIZE:='512M'} # Maximum RAM amount +: ${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}..."