fix tpm enroll
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-01-06 10:49:03 +01:00
parent 7853797121
commit 823f4e9c78
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -3,7 +3,7 @@ Description=TPM Enrollment Service
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=systemd-cryptenroll --tpm2-device=auto <ROOT> --tpm2-pcrs=7 && rm /etc/systemd/system/tpm-enroll.service ExecStart=bash -c "systemd-cryptenroll --tpm2-device=auto <ROOT> --tpm2-pcrs=7 && rm /etc/systemd/system/tpm-enroll.service"
SetCredential=cryptenroll.passphrase:<PASSPHRASE> SetCredential=cryptenroll.passphrase:<PASSPHRASE>
User=root User=root