This commit is contained in:
Marc Beninca 2023-12-28 11:58:29 +01:00
parent b053c65680
commit 58829f7045

View file

@ -189,7 +189,7 @@ function hetzner-rescue-wipe-8-8-0 {
mkfs.vfat \ mkfs.vfat \
-F 32 \ -F 32 \
-S 4096 \ -S 4096 \
-i "b007000${number}" \ -i "000000b${number}" \
-n "esp-${number}" \ -n "esp-${number}" \
"${device}3" "${device}3"
done done
@ -209,6 +209,7 @@ function hetzner-rescue-wipe-8-8-0 {
done done
mkfs.btrfs --force \ mkfs.btrfs --force \
--label 'boot' \ --label 'boot' \
--uuid '00000000-0000-0000-0000-0000000000b0' \
--checksum 'sha256' \ --checksum 'sha256' \
--data 'raid0' \ --data 'raid0' \
"${members[@]}" "${members[@]}"
@ -229,7 +230,7 @@ function hetzner-rescue-wipe-8-8-0 {
mdadm \ mdadm \
--create '/dev/md/crypt' \ --create '/dev/md/crypt' \
--name 'crypt' \ --name 'crypt' \
--uuid '006234a0:eb29a3a8:471dbd5e:c4bada55' \ --uuid '00000000:00000000:00000000:000000cc' \
--metadata 1 \ --metadata 1 \
--level 0 \ --level 0 \
--raid-devices ${#devices[@]} \ --raid-devices ${#devices[@]} \