2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-11 03:56:26 +00:00

Fix missing tpm2-tools

Needed for full TPM based boot
This commit is contained in:
Jarrod Johnson
2026-08-11 09:38:41 -04:00
parent 3c820d7600
commit e3dbdbd44d
@@ -111,7 +111,7 @@ if [ -f /etc/confluent_lukspass ]; then
cp /etc/confluent_lukspass /target/etc/confluent/luks.key
chmod 000 /target/etc/confluent/luks.key
lukspass=$(cat /etc/confluent_lukspass)
chroot /target apt install libtss2-rc0
chroot /target apt install libtss2-rc0 tpm2-tools
PASSWORD=$lukspass chroot /target systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs="" $CRYPTTAB_SOURCE
fetch_remote systemdecrypt
mv systemdecrypt /target/etc/initramfs-tools/scripts/local-top/systemdecrypt