diff --git a/run/disk.sh b/run/disk.sh index c356db5..f860f85 100644 --- a/run/disk.sh +++ b/run/disk.sh @@ -3,8 +3,8 @@ set -eu # Docker environment variables -: ${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/$BASE.boot.img" diff --git a/run/run.sh b/run/run.sh index d71c5f9..7cf18bb 100755 --- a/run/run.sh +++ b/run/run.sh @@ -3,12 +3,12 @@ set -eu # Docker environment variables -: ${URL:=''} # URL of the PAT file -: ${DEBUG:='N'} # Enable debug mode -: ${ALLOCATE:='Y'} # Preallocate diskspace +: ${URL:=''} # URL of the PAT 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 +: ${DISK_SIZE:='16G'} # Initial data disk size +: ${RAM_SIZE:='512M'} # Maximum RAM amount echo "Starting Virtual DSM for Docker v${VERSION}..."