Update boot.sh

This commit is contained in:
Kroese 2024-02-02 16:23:14 +01:00 committed by GitHub
parent a85c2e186e
commit f0426bcc64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,9 +2,9 @@
set -Eeuo pipefail
# Docker environment variables
: "${TPM:="Y"}" # Enable TPM
: "${BIOS:=""}" # Bios file
: "${BOOT_MODE:="uefi"}" # Boot mode
: "${TPM:="Y"}" # Enable TPM
: "${BIOS:=""}" # Bios file
: "${BOOT_MODE:="uefi"}" # Boot mode
SECURE=""
DIR="/usr/share/qemu"
@ -31,7 +31,7 @@ case "${BOOT_MODE,,}" in
;;
esac
if [ -n "$BIOS"]; then
if [ -n "$BIOS" ]; then
BOOT_OPTS="$BOOT_OPTS -bios $DIR/$BIOS"
return 0