diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 8182eb9..e28aeaf 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -136,13 +136,19 @@ function hetzner-rescue-wipe-12-10-10 { '/dev/sda' '/dev/sdb' ) + local number=0 local unit='mib' # lsblk echo -n 'WIPE' "${device}" '/?\ OR CANCEL /!\' read # - parted "${device}" --script mktable gpt + for device in "${devices[@]}" ; do + ((number++)) + echo ; echo "#${number}: ${device}" + # + parted "${device}" --script mktable gpt + done # parted "${device}" unit "${unit}" mkpart 'crypt' 65795 1907729 #