diff --git a/bash/rescue-hetzner.sh b/bash/rescue-hetzner.sh index 4d1100c..5a076fc 100644 --- a/bash/rescue-hetzner.sh +++ b/bash/rescue-hetzner.sh @@ -151,12 +151,6 @@ rescue_hetzner_wipe_8_8_0_init() { cryptsetup luksOpen '/dev/md/crypt' 'crypt' } -rescue_hetzner_wipe_8_8_1_zero() { - # wipe crypt - dd status='progress' \ - if='/dev/zero' of='/dev/mapper/crypt' bs='8G' -} - rescue_hetzner_wipe_8_8_2_make() { local passphrase # close diff --git a/bash/rescue-ovh.sh b/bash/rescue-ovh.sh index 0b26d0d..1b7af69 100644 --- a/bash/rescue-ovh.sh +++ b/bash/rescue-ovh.sh @@ -80,11 +80,6 @@ rescue_ovh_wipe_vle2_0_init() { cryptsetup luksOpen "${device}1" "crypt" } -rescue_ovh_wipe_vle2_1_zero() { - # crypt / zero - dd status="progress" if="/dev/zero" of="/dev/mapper/crypt" bs="1G" -} - rescue_ovh_wipe_vle2_2_make() { local passphrase # crypt / close diff --git a/bash/rescue.sh b/bash/rescue.sh index a23f6d9..beee576 100644 --- a/bash/rescue.sh +++ b/bash/rescue.sh @@ -138,6 +138,11 @@ source \"/etc/bash/main.sh\" ; rescue_configure \"${hostname}\"" fi } +rescue_wipe_1_zero() { + dd status="progress" \ + if="/dev/zero" of="/dev/mapper/crypt" bs="1G" +} + rescue_wipe_3_close() { umount "/media/boot" umount "/media/crypt" &&