diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 7e79b7f..22ac7c2 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -133,7 +133,6 @@ fi function hetzner-rescue-wipe-8-8-0 { local device local devices=( - '/dev/sdc' '/dev/sda' '/dev/sdb' ) @@ -157,13 +156,13 @@ function hetzner-rescue-wipe-8-8-0 { parted "${device}" --script mktable gpt # parted "${device}" unit "${unit}" \ - mkpart "crypt-${number}" 22359 9537535 + mkpart "crypt-${number}" 33282 7630885 # parted "${device}" unit "${unit}" \ - mkpart "boot-${number}" 513 22359 + mkpart "boot-${number}" 514 33282 # parted "${device}" unit "${unit}" \ - mkpart "esp-${number}" 2 513 + mkpart "esp-${number}" 2 514 parted "${device}" set 3 esp on # parted "${device}" unit "${unit}" \ @@ -171,9 +170,6 @@ function hetzner-rescue-wipe-8-8-0 { parted "${device}" set 4 bios_grub on done # - parted "${device}" unit "${unit}" \ - mkpart 'extra' 9537535 11444223 - # number=0 for device in "${devices[@]}" ; do ((number++))