man: suggest using --unlock-tpm2-device=auto in cryptenroll example
When refreshing a tpm2 enrollment, it makes sense to use tpm2 to unlock the device. Fixes: #35279
This commit is contained in:
committed by
Luca Boccassi
parent
d1ee3889cf
commit
c91f1a3db8
@@ -699,7 +699,7 @@
|
||||
added slot is always excluded from the wiping. Combining enrollment and slot wiping may thus be used to
|
||||
update existing enrollments:</para>
|
||||
|
||||
<programlisting>systemd-cryptenroll /dev/sda1 --wipe-slot=tpm2 --tpm2-device=auto</programlisting>
|
||||
<programlisting>systemd-cryptenroll /dev/sda1 --wipe-slot=tpm2 --tpm2-device=auto --unlock-tpm2-device=auto</programlisting>
|
||||
|
||||
<para>The above command will enroll the TPM2 chip, and then wipe all previously created TPM2
|
||||
enrollments on the LUKS2 volume, leaving only the newly created one. Combining wiping and enrollment
|
||||
|
||||
Reference in New Issue
Block a user