diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index c2431ff..ad04071 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -250,6 +250,10 @@ function hetzner-rescue-wipe-12-10-10 { pvcreate '/dev/mapper/crypt' # vg vgcreate 'crypt' '/dev/mapper/crypt' + # lv swap + lvcreate --name 'swap' --size '68719476736b' 'crypt' + # lv data + lvcreate --name 'data' --extents '100%FREE' 'crypt' #### # vg off vgchange --activate n 'crypt' @@ -258,10 +262,6 @@ function hetzner-rescue-wipe-12-10-10 { } function hetzner-rescue-wipe-12-10-10-extra { - # lv swap - lvcreate --name 'swap' --size '68719476736b' 'crypt' - # lv data - lvcreate --name 'data' --extents '100%FREE' 'crypt' # format swap mkswap --label 'swap' '/dev/mapper/crypt-swap' # format data