This commit is contained in:
Kroese 2023-04-27 21:01:16 +02:00 committed by GitHub
parent 2da7622c94
commit 671dee6661

View file

@ -1,11 +1,11 @@
#!/usr/bin/env bash
set -eu
# Docker environment variabeles
# 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_CACHE:='none'} # Caching mode, can be set to 'writeback' for better performance
: ${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"
[ ! -f "$BOOT" ] && echo "ERROR: Boot image does not exist ($BOOT)" && exit 81