This commit is contained in:
parent
7853797121
commit
823f4e9c78
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue