From 7cbe78dbc62adf9d2ce07697d34a72a2b296cc80 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 3 Oct 2023 09:59:55 +0200 Subject: [PATCH] data --- bash/hetzner-rescue.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index da3514b..e5b18fa 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -259,14 +259,13 @@ function hetzner-rescue-wipe-12-10-10 { --label 'swap' \ -U '06234a0e-b29a-3a84-71db-d5ec4bada557' \ '/dev/mapper/crypt-swap' -#### + # format data + mkfs.ext4 \ + -L 'data' \ + -U '006234a0-eb29-a3a8-471d-bd5ec4bada55' \ + '/dev/mapper/crypt-data' # vg off vgchange --activate n 'crypt' # close cryptsetup luksClose 'crypt' } - -function hetzner-rescue-wipe-12-10-10-extra { - # format data - mkfs.ext4 -L 'data' '/dev/mapper/crypt-data' -}