diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 16b5410..163589f 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -252,12 +252,15 @@ function hetzner-rescue-wipe-8-8-0 { # open echo "${passphrase}" \ | cryptsetup luksOpen '/dev/md/crypt' 'crypt' +} + +function hetzner-rescue-wipe-8-8-1 { # wipe crypt dd status='progress' \ if='/dev/zero' of='/dev/mapper/crypt' bs='8G' } -function hetzner-rescue-wipe-8-8-1 { +function hetzner-rescue-wipe-8-8-2 { local passphrase # close cryptsetup luksClose 'crypt'