From c31db13ebf337c4153206762d843dc3d47867484 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 28 Dec 2023 13:00:10 +0100 Subject: [PATCH] close --- bash/hetzner-rescue.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index ee50748..3c5b287 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -305,8 +305,13 @@ function hetzner-rescue-wipe-8-8-2 { --size '64g' \ --uuid '00000000-0000-0000-0000-000000000005' \ '/media/crypt/swap' - # close - cryptsetup luksClose 'crypt' +} + +function hetzner-rescue-wipe-8-8-3-close { + umount '/media/boot' + # + umount '/media/crypt' \ + && cryptsetup luksClose 'crypt' } function hetzner-rescue-wipe-12-10-10-0 {