Update boot.sh
This commit is contained in:
parent
a85c2e186e
commit
f0426bcc64
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue