diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 10557aa..f19ab4a 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -229,9 +229,6 @@ function hetzner-rescue-wipe-12-10-10 { -L 'boot' \ -U '6234a0eb-29a3-a847-1dbd-5ec4bada5579' \ '/dev/md/boot' -} - -function hetzner-rescue-wipe-12-10-10-extra { # encrypt echo "${passphrase}" \ | cryptsetup \ @@ -245,7 +242,10 @@ function hetzner-rescue-wipe-12-10-10-extra { --hash 'sha512' \ --use-random \ luksFormat \ - '/dev/sda1' + '/dev/md/crypt' +} + +function hetzner-rescue-wipe-12-10-10-extra { # open echo "${passphrase}" \ | cryptsetup luksOpen '/dev/sda1' 'crypt'