mirror of
https://github.com/dockur/windows.git
synced 2025-12-20 09:20:04 +00:00
feat: Move TPM emulator (#49)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user