fix: Move TPM init

This commit is contained in:
Kroese 2024-01-18 10:12:18 +01:00 committed by GitHub
parent f723174f37
commit 7142d64210
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,10 +23,6 @@ if [[ "${DISPLAY,,}" == "web" ]]; then
nginx -e stderr
fi
mkdir -p /dev/shm/emulated_tpm
swtpm socket -t -d --tpmstate dir=/dev/shm/emulated_tpm --ctrl \
type=unixio,path=/dev/shm/emulated_tpm/swtpm-sock --log level=1 --tpm2
info "Booting Windows using $VERS..."
[[ "$DEBUG" == [Yy1]* ]] && set -x