md/sort
This commit is contained in:
parent
fb02c72976
commit
b272ea2181
1 changed files with 6 additions and 6 deletions
|
@ -212,11 +212,11 @@ function hetzner-rescue-wipe-8-8-0-init {
|
||||||
done
|
done
|
||||||
mdadm \
|
mdadm \
|
||||||
--create '/dev/md/boot' \
|
--create '/dev/md/boot' \
|
||||||
--name 'boot' \
|
|
||||||
--uuid '00000000:00000000:00000000:00000002' \
|
|
||||||
--metadata 1 \
|
|
||||||
--level 0 \
|
--level 0 \
|
||||||
|
--metadata 1 \
|
||||||
|
--name 'boot' \
|
||||||
--raid-devices ${#devices[@]} \
|
--raid-devices ${#devices[@]} \
|
||||||
|
--uuid '00000000:00000000:00000000:00000002' \
|
||||||
"${members[@]}"
|
"${members[@]}"
|
||||||
#
|
#
|
||||||
mkfs.btrfs --force \
|
mkfs.btrfs --force \
|
||||||
|
@ -245,11 +245,11 @@ function hetzner-rescue-wipe-8-8-0-init {
|
||||||
done
|
done
|
||||||
mdadm \
|
mdadm \
|
||||||
--create '/dev/md/crypt' \
|
--create '/dev/md/crypt' \
|
||||||
--name 'crypt' \
|
|
||||||
--uuid '00000000:00000000:00000000:00000001' \
|
|
||||||
--metadata 1 \
|
|
||||||
--level 0 \
|
--level 0 \
|
||||||
|
--metadata 1 \
|
||||||
|
--name 'crypt' \
|
||||||
--raid-devices ${#devices[@]} \
|
--raid-devices ${#devices[@]} \
|
||||||
|
--uuid '00000000:00000000:00000000:00000001' \
|
||||||
"${members[@]}"
|
"${members[@]}"
|
||||||
# encrypt
|
# encrypt
|
||||||
echo "${passphrase}" \
|
echo "${passphrase}" \
|
||||||
|
|
Loading…
Reference in a new issue