head
This commit is contained in:
parent
10aa0b80b5
commit
f796532025
1 changed files with 9 additions and 0 deletions
|
@ -215,6 +215,15 @@ function hetzner-rescue-wipe-12-10-10-0 {
|
||||||
--raid-devices ${#devices[@]} \
|
--raid-devices ${#devices[@]} \
|
||||||
"${members[@]}"
|
"${members[@]}"
|
||||||
#
|
#
|
||||||
|
number=0
|
||||||
|
for device in "${devices[@]}" ; do
|
||||||
|
((number++))
|
||||||
|
echo ; echo "#${number}: ${device}1"
|
||||||
|
# wipe crypt head
|
||||||
|
dd status='progress' \
|
||||||
|
if='/dev/zero' of="${device}1" bs='1G' count=1
|
||||||
|
done
|
||||||
|
#
|
||||||
members=()
|
members=()
|
||||||
for device in "${devices[@]}" ; do
|
for device in "${devices[@]}" ; do
|
||||||
members+=("${device}1")
|
members+=("${device}1")
|
||||||
|
|
Loading…
Reference in a new issue