diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 163589f..682c300 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -284,14 +284,6 @@ function hetzner-rescue-wipe-8-8-2 { # open echo "${passphrase}" \ | cryptsetup luksOpen '/dev/md/crypt' 'crypt' - # pv - pvcreate '/dev/mapper/crypt' - # vg - vgcreate 'crypt' '/dev/mapper/crypt' - # lv swap - lvcreate --name 'swap' --size '137438953472b' 'crypt' - # lv data - lvcreate --name 'data' --extents '100%FREE' 'crypt' # format swap mkswap \ --label 'swap' \ @@ -302,8 +294,6 @@ function hetzner-rescue-wipe-8-8-2 { -L 'data' \ -U '006234a0-eb29-a3a8-471d-bd5ec4bada55' \ '/dev/mapper/crypt-data' - # vg off - vgchange --activate n 'crypt' # close cryptsetup luksClose 'crypt' }