Skip to content

Instantly share code, notes, and snippets.

@itsuki-hayashi
Last active March 15, 2023 12:47
Show Gist options
  • Save itsuki-hayashi/b9cda092b95783d59c26a11b95467236 to your computer and use it in GitHub Desktop.
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
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