indent
This commit is contained in:
parent
566189cc80
commit
63af101db9
1 changed files with 11 additions and 11 deletions
|
@ -181,10 +181,10 @@ ovh_rescue_wipe_vle2_0_init() {
|
|||
dd status="progress" if="/dev/zero" of="${device}2" bs="1G" count=1
|
||||
# boot / format
|
||||
mkfs.btrfs --force \
|
||||
--checksum "sha256" \
|
||||
--label "boot" \
|
||||
--uuid "00000000-0000-0000-0000-00000000000b" \
|
||||
"${device}2"
|
||||
--checksum "sha256" \
|
||||
--label "boot" \
|
||||
--uuid "00000000-0000-0000-0000-00000000000b" \
|
||||
"${device}2"
|
||||
# boot / mount
|
||||
mkdir --parents "/media/boot"
|
||||
mount --options "autodefrag,compress-force=zstd" \
|
||||
|
@ -241,19 +241,19 @@ ovh_rescue_wipe_vle2_2_make() {
|
|||
cryptsetup luksOpen "${device}1" "crypt"
|
||||
# crypt / format
|
||||
mkfs.btrfs --force \
|
||||
--checksum "sha256" \
|
||||
--label "crypt" \
|
||||
--uuid "00000000-0000-0000-0000-00000000000c" \
|
||||
"${device}1"
|
||||
--checksum "sha256" \
|
||||
--label "crypt" \
|
||||
--uuid "00000000-0000-0000-0000-00000000000c" \
|
||||
"${device}1"
|
||||
# crypt / mount
|
||||
mkdir --parents "/media/crypt"
|
||||
mount --options "autodefrag,compress-force=zstd" \
|
||||
"${device}1" "/media/crypt"
|
||||
# crypt / swap
|
||||
btrfs filesystem mkswapfile \
|
||||
--size "4g" \
|
||||
--uuid "00000000-0000-0000-0000-000000000005" \
|
||||
"/media/crypt/swap"
|
||||
--size "4g" \
|
||||
--uuid "00000000-0000-0000-0000-000000000005" \
|
||||
"/media/crypt/swap"
|
||||
}
|
||||
|
||||
ovh_rescue_wipe_vle2_3_close() {
|
||||
|
|
Loading…
Reference in a new issue