From 5ab4a0054a02f79fc85907d0ed2b889902f33b3c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 28 Dec 2023 12:06:27 +0100 Subject: [PATCH] swap --- bash/hetzner-rescue.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 682c300..2c9ad54 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -284,16 +284,16 @@ function hetzner-rescue-wipe-8-8-2 { # open echo "${passphrase}" \ | cryptsetup luksOpen '/dev/md/crypt' 'crypt' - # format swap - mkswap \ - --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' + # format swap + mkswap \ + --label 'swap' \ + -U '06234a0e-b29a-3a84-71db-d5ec4bada557' \ + '/dev/mapper/crypt-swap' # close cryptsetup luksClose 'crypt' }