2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-21 17:11:58 +00:00

Fix mistake in EL8/EL9 LUKS

This commit is contained in:
Jarrod Johnson 2024-07-29 11:22:07 -04:00
parent 329f2b4485
commit e6dc383d25

View File

@ -1,5 +1,5 @@
#!/bin/sh
cryptdisk=$(blkid -t TYPE="crypto_LUKS"|sed -e s/:.*//)
clevis luks bind -f -d $cryptdisk -k /etc/cofluent/luks.key tpm2 '{}'
clevis luks bind -f -d $cryptdisk -k - tpm2 '{}' < /etc/confluent/luks.key
chmod 000 /etc/confluent/luks.key
#cryptsetup luksRemoveKey $cryptdisk < /etc/confluent/confluent.apikey