This commit is contained in:
Marc Beninca 2023-10-04 08:24:22 +02:00
parent f796532025
commit abc7186d57

View file

@ -262,12 +262,12 @@ function hetzner-rescue-wipe-12-10-10-0 {
# wipe crypt
dd status='progress' \
if='/dev/zero' of='/dev/mapper/crypt' bs='16G'
# close
cryptsetup luksClose 'crypt'
}
function hetzner-rescue-wipe-12-10-10-1 {
local passphrase
# close
cryptsetup luksClose 'crypt'
# read passphrase
echo -n 'PassPhrase: '
read -r -s passphrase