From 02f2f5323c6a1822cde4ec2c36501073b8b0081a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 28 Dec 2023 12:00:25 +0100 Subject: [PATCH] standalone wipe --- bash/hetzner-rescue.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'