mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
tmp2-unlock - make it work for all systems (#2228)
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
e46a4414eb
commit
caec1349a7
@ -76,7 +76,7 @@ apt-get install clevis-tpm2 clevis-luks clevis-initramfs -y
|
||||
|
||||
# Execute the script
|
||||
print_text_in_color "$ICyan" "Setting up automatic unlocking via TPM2..."
|
||||
if ! echo "$PASSWORD" | clevis luks bind -k - -d "/dev/${ENCRYPTED_DEVICE[*]}" tpm2 '{"pcr_ids":"7"}'
|
||||
if ! echo "$PASSWORD" | clevis luks bind -k - -d "/dev/${ENCRYPTED_DEVICE[*]}" tpm2 '{"pcr_bank":"sha256","pcr_ids":"7"}'
|
||||
then
|
||||
msg_box "Something has failed while trying to configure clevis luks.
|
||||
We will now uninstall all needed packets again, so that you are able to start over."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user