boot
This commit is contained in:
parent
f71653e290
commit
f4cda4c096
1 changed files with 6 additions and 2 deletions
|
@ -219,11 +219,15 @@ function hetzner-rescue-wipe-12-10-10 {
|
||||||
--level 0 \
|
--level 0 \
|
||||||
--raid-devices ${#devices[@]} \
|
--raid-devices ${#devices[@]} \
|
||||||
"${members[@]}"
|
"${members[@]}"
|
||||||
|
# format boot
|
||||||
|
mkfs.ext4 \
|
||||||
|
-F \
|
||||||
|
-L 'boot' \
|
||||||
|
-U '6234a0eb-29a3-a847-1dbd-5ec4bada5579' \
|
||||||
|
'/dev/md/boot'
|
||||||
}
|
}
|
||||||
|
|
||||||
function hetzner-rescue-wipe-12-10-10-extra {
|
function hetzner-rescue-wipe-12-10-10-extra {
|
||||||
# format boot
|
|
||||||
mkfs.ext4 -F -L 'boot' '/dev/sda2'
|
|
||||||
# read passphrase
|
# read passphrase
|
||||||
local passphrase
|
local passphrase
|
||||||
echo -n 'PassPhrase: '
|
echo -n 'PassPhrase: '
|
||||||
|
|
Loading…
Reference in a new issue