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
|
set -Eeuo pipefail
|
||||||
|
|
||||||
# Docker environment variables
|
# Docker environment variables
|
||||||
: "${TPM:="Y"}" # Enable TPM
|
: "${TPM:="Y"}" # Enable TPM
|
||||||
: "${BIOS:=""}" # Bios file
|
: "${BIOS:=""}" # Bios file
|
||||||
: "${BOOT_MODE:="uefi"}" # Boot mode
|
: "${BOOT_MODE:="uefi"}" # Boot mode
|
||||||
|
|
||||||
SECURE=""
|
SECURE=""
|
||||||
DIR="/usr/share/qemu"
|
DIR="/usr/share/qemu"
|
||||||
|
|
@ -31,7 +31,7 @@ case "${BOOT_MODE,,}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "$BIOS"]; then
|
if [ -n "$BIOS" ]; then
|
||||||
|
|
||||||
BOOT_OPTS="$BOOT_OPTS -bios $DIR/$BIOS"
|
BOOT_OPTS="$BOOT_OPTS -bios $DIR/$BIOS"
|
||||||
return 0
|
return 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue