Update progress on LUKS mounting, instead of just asking passphrase again

This commit is contained in:
Eric Renfro 2024-08-02 15:44:16 -04:00
parent 2f398fd719
commit 45ec0d7a89
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -84,6 +84,8 @@ function create_luks() {
fi fi
${cmd} cryptsetup --batch-mode --cipher aes-xts-plain64 --hash sha512 --use-random --verify-passphrase luksFormat "$RootPart" ${cmd} cryptsetup --batch-mode --cipher aes-xts-plain64 --hash sha512 --use-random --verify-passphrase luksFormat "$RootPart"
echo
echo "Mounting new LUKS volume to continue preparation. Please unlock below:"
${cmd} cryptsetup luksOpen "$RootPart" luksvol ${cmd} cryptsetup luksOpen "$RootPart" luksvol
} }