Skip to content

Commit

Permalink
fix: Move TPM init
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jan 18, 2024
1 parent f723174 commit 7142d64
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ if [[ "${DISPLAY,,}" == "web" ]]; then
nginx -e stderr
fi

mkdir -p /dev/shm/emulated_tpm
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..."

[[ "$DEBUG" == [Yy1]* ]] && set -x
Expand Down

0 comments on commit 7142d64

Please sign in to comment.