mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Add TPM emulator
This commit is contained in:
parent
ccbe071ba2
commit
34ee85c37c
1 changed files with 3 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ if [[ "${DISPLAY,,}" == "web" ]]; then
|
|||
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
info "Booting Windows using $VERS..."
|
||||
|
||||
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue