feat: Emulate TPM in RAM

This commit is contained in:
Kroese 2024-01-16 19:31:36 +01:00 committed by GitHub
parent 2acc6518f5
commit 8fd682665b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
mkdir -p /tmp/emulated_tpm mkdir -p /tmp/emulated_tpm
swtpm socket -t -d --tpmstate dir=/tmp/emulated_tpm --ctrl \ swtpm socket -t -d --tpmstate dir=/dev/shm/emulated_tpm --ctrl \
type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=1 --tpm2 type=unixio,path=/dev/shm/emulated_tpm/swtpm-sock --log level=1 --tpm2
info "Booting Windows using $VERS..." info "Booting Windows using $VERS..."