4,3,2
This commit is contained in:
parent
6f752c3afc
commit
10aa0b80b5
1 changed files with 3 additions and 3 deletions
|
@ -177,7 +177,7 @@ function hetzner-rescue-wipe-12-10-10-0 {
|
|||
number=0
|
||||
for device in "${devices[@]}" ; do
|
||||
((number++))
|
||||
echo ; echo "#${number}: ${device}"
|
||||
echo ; echo "#${number}: ${device}4"
|
||||
# wipe bios
|
||||
dd \
|
||||
if='/dev/zero' of="${device}4"
|
||||
|
@ -186,7 +186,7 @@ function hetzner-rescue-wipe-12-10-10-0 {
|
|||
number=0
|
||||
for device in "${devices[@]}" ; do
|
||||
((number++))
|
||||
echo ; echo "#${number}: ${device}"
|
||||
echo ; echo "#${number}: ${device}3"
|
||||
# format esp
|
||||
dd \
|
||||
if='/dev/zero' of="${device}3" bs='1M'
|
||||
|
@ -196,7 +196,7 @@ function hetzner-rescue-wipe-12-10-10-0 {
|
|||
number=0
|
||||
for device in "${devices[@]}" ; do
|
||||
((number++))
|
||||
echo ; echo "#${number}: ${device}"
|
||||
echo ; echo "#${number}: ${device}2"
|
||||
# wipe boot
|
||||
dd status='progress' \
|
||||
if='/dev/zero' of="${device}2" bs='1G'
|
||||
|
|
Loading…
Reference in a new issue