fix: Remove hpet flag (#367)
This commit is contained in:
parent
5c63792320
commit
20895e997b
2 changed files with 1 additions and 9 deletions
|
@ -58,7 +58,7 @@ if [[ "${BOOT_MODE,,}" != "legacy" ]]; then
|
|||
|
||||
BOOT_OPTS="$BOOT_OPTS -chardev socket,id=chrtpm,path=/dev/shm/tpm/swtpm-sock"
|
||||
BOOT_OPTS="$BOOT_OPTS -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0"
|
||||
BOOT_OPTS="$BOOT_OPTS -no-hpet -global kvm-pit.lost_tick_policy=discard -global ICH9-LPC.disable_s3=1"
|
||||
BOOT_OPTS="$BOOT_OPTS -global kvm-pit.lost_tick_policy=discard -global ICH9-LPC.disable_s3=1"
|
||||
|
||||
mkdir -p /dev/shm/tpm
|
||||
swtpm socket -t -d --tpmstate dir=/dev/shm/tpm --ctrl type=unixio,path=/dev/shm/tpm/swtpm-sock --tpm2
|
||||
|
|
|
@ -16,14 +16,6 @@ BASE="boot.img"
|
|||
[ ! -f "$STORAGE/$BASE" ] && BASE="boot.ISO"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="BOOT.IMG"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="BOOT.ISO"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="custom.iso"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="custom.img"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="Custom.iso"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="Custom.img"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="custom.ISO"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="custom.IMG"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="CUSTOM.ISO"
|
||||
[ ! -f "$STORAGE/$BASE" ] && BASE="CUSTOM.IMG"
|
||||
|
||||
[ -f "$STORAGE/$BASE" ] && return 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue