Don't force secure boot measurement for TPM disk encryption
This commit is contained in:
parent
46c34fe0b5
commit
b0c45eef59
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
cmd: >
|
||||
systemd-run -P --wait
|
||||
-p SetCredential=cryptenroll.passphrase:{{ encrypt_passphrase | default(encrypt_passphrase_initial) }}
|
||||
systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=7 {{ encrypt_device }} --wipe-slot=tpm2
|
||||
systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs="" {{ encrypt_device }} --wipe-slot=tpm2
|
||||
no_log: true
|
||||
when: "'tpm2' not in encrypt_slots_result.stdout"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue