swaps
This commit is contained in:
parent
4590c5cda6
commit
799732c8ef
2 changed files with 4 additions and 8 deletions
|
@ -159,8 +159,6 @@ rescue_wipe_2_make_hetzner_8_8() {
|
||||||
--options "autodefrag,compress-force=zstd" \
|
--options "autodefrag,compress-force=zstd" \
|
||||||
"/dev/mapper/crypt" "/media/crypt"
|
"/dev/mapper/crypt" "/media/crypt"
|
||||||
# make swap file
|
# make swap file
|
||||||
btrfs filesystem mkswapfile \
|
fs_make_btrfs_swap "/media/crypt/swap" "64g" \
|
||||||
--size "64g" \
|
"00000000-0000-0000-0000-000000000005"
|
||||||
--uuid "00000000-0000-0000-0000-000000000005" \
|
|
||||||
"/media/crypt/swap"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,8 +92,6 @@ rescue_wipe_2_make_ovh_vle2() {
|
||||||
mount --options "autodefrag,compress-force=zstd" \
|
mount --options "autodefrag,compress-force=zstd" \
|
||||||
"/dev/mapper/crypt" "/media/crypt"
|
"/dev/mapper/crypt" "/media/crypt"
|
||||||
# crypt / swap
|
# crypt / swap
|
||||||
btrfs filesystem mkswapfile \
|
fs_make_btrfs_swap "/media/crypt/swap" "4g" \
|
||||||
--size "4g" \
|
"00000000-0000-0000-0000-000000000005"
|
||||||
--uuid "00000000-0000-0000-0000-000000000005" \
|
|
||||||
"/media/crypt/swap"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue