From f723174f37e442bda12038f39e77eb98256b7275 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 18 Jan 2024 10:11:29 +0100 Subject: [PATCH] fix: Move TPM init --- src/install.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 7761289..9538230 100644 --- a/src/install.sh +++ b/src/install.sh @@ -5,9 +5,6 @@ set -Eeuo pipefail : "${EXTERNAL:="N"}" : "${VERSION:="win11x64"}" -ARGUMENTS="-chardev socket,id=chrtpm,path=/dev/shm/emulated_tpm/swtpm-sock $ARGUMENTS" -ARGUMENTS="-tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0 $ARGUMENTS" - [[ "${VERSION,,}" == "http"* ]] && EXTERNAL="Y" [[ "${VERSION,,}" == "11" ]] && VERSION="win11x64"