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
|
dd status="progress" if="/dev/zero" of="${device}2" bs="1G" count=1
|
||||||
# boot / format
|
# boot / format
|
||||||
mkfs.btrfs --force \
|
mkfs.btrfs --force \
|
||||||
--checksum "sha256" \
|
--checksum "sha256" \
|
||||||
--label "boot" \
|
--label "boot" \
|
||||||
--uuid "00000000-0000-0000-0000-00000000000b" \
|
--uuid "00000000-0000-0000-0000-00000000000b" \
|
||||||
"${device}2"
|
"${device}2"
|
||||||
# boot / mount
|
# boot / mount
|
||||||
mkdir --parents "/media/boot"
|
mkdir --parents "/media/boot"
|
||||||
mount --options "autodefrag,compress-force=zstd" \
|
mount --options "autodefrag,compress-force=zstd" \
|
||||||
|
@ -241,19 +241,19 @@ ovh_rescue_wipe_vle2_2_make() {
|
||||||
cryptsetup luksOpen "${device}1" "crypt"
|
cryptsetup luksOpen "${device}1" "crypt"
|
||||||
# crypt / format
|
# crypt / format
|
||||||
mkfs.btrfs --force \
|
mkfs.btrfs --force \
|
||||||
--checksum "sha256" \
|
--checksum "sha256" \
|
||||||
--label "crypt" \
|
--label "crypt" \
|
||||||
--uuid "00000000-0000-0000-0000-00000000000c" \
|
--uuid "00000000-0000-0000-0000-00000000000c" \
|
||||||
"${device}1"
|
"${device}1"
|
||||||
# crypt / mount
|
# crypt / mount
|
||||||
mkdir --parents "/media/crypt"
|
mkdir --parents "/media/crypt"
|
||||||
mount --options "autodefrag,compress-force=zstd" \
|
mount --options "autodefrag,compress-force=zstd" \
|
||||||
"${device}1" "/media/crypt"
|
"${device}1" "/media/crypt"
|
||||||
# crypt / swap
|
# crypt / swap
|
||||||
btrfs filesystem mkswapfile \
|
btrfs filesystem mkswapfile \
|
||||||
--size "4g" \
|
--size "4g" \
|
||||||
--uuid "00000000-0000-0000-0000-000000000005" \
|
--uuid "00000000-0000-0000-0000-000000000005" \
|
||||||
"/media/crypt/swap"
|
"/media/crypt/swap"
|
||||||
}
|
}
|
||||||
|
|
||||||
ovh_rescue_wipe_vle2_3_close() {
|
ovh_rescue_wipe_vle2_3_close() {
|
||||||
|
|
Loading…
Reference in a new issue