Tabs
Tabs
This commit is contained in:
commit
217db941f3
2 changed files with 8 additions and 8 deletions
|
@ -3,8 +3,8 @@ set -eu
|
||||||
|
|
||||||
# Docker environment variabeles
|
# Docker environment variabeles
|
||||||
|
|
||||||
: ${DISK_IO:='native'} # I/O Mode, can be set to 'native', 'threads' or 'io_turing'
|
: ${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_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
|
: ${DISK_CACHE:='none'} # Caching mode, can be set to 'writeback' for better performance
|
||||||
|
|
||||||
BOOT="$STORAGE/boot.img"
|
BOOT="$STORAGE/boot.img"
|
||||||
|
|
12
run/run.sh
12
run/run.sh
|
@ -3,12 +3,12 @@ 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}..."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue