From 8fd682665bd872be388c2c30e9ddee34ca59a051 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 16 Jan 2024 19:31:36 +0100 Subject: [PATCH] feat: Emulate TPM in RAM --- src/entry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entry.sh b/src/entry.sh index 5f89891..d8b11fc 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -24,8 +24,8 @@ ln -sfn /usr/share/novnc/vnc_lite.html /usr/share/novnc/index.html websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null mkdir -p /tmp/emulated_tpm -swtpm socket -t -d --tpmstate dir=/tmp/emulated_tpm --ctrl \ - type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=1 --tpm2 +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..."