Last active
March 15, 2023 12:47
-
-
Save itsuki-hayashi/b9cda092b95783d59c26a11b95467236 to your computer and use it in GitHub Desktop.
Enable Clevis Auto Unlock With TPM 2.0 for LUKS Encrypted System Volume on RHEL 8/9 Rocky Linux 8/9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum install clevis* | |
| sudo clevis luks bind -d /dev/nvme0n1p3 tpm2 '{"pcr_bank":"sha384","pcr_ids":"0,7"}' | |
| sudo dracut --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment