Add a specific ext4 LV for virtual machines

This commit is contained in:
Jeremy Gardais 2019-02-26 18:54:53 +01:00
parent 39cb5deda1
commit 17353bfbfa
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 16 additions and 0 deletions

View File

@ -197,6 +197,14 @@ d-i partman-auto/expert_recipe string \
use_filesystem{ } filesystem{ btrfs } \
mountpoint{ / } \
. \
10000 50000 20000 ext4 \
$lvmok{ } lv_name{ lv_virt } \
in_vg { sys } \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /mnt/virt } \
. \
50% 2000 75% linux-swap \
$lvmok{ } lv_name{ lv_swap } \
in_vg { sys } \

View File

@ -218,6 +218,14 @@ d-i partman-auto/expert_recipe string \
use_filesystem{ } filesystem{ btrfs } \
mountpoint{ / } \
. \
10000 50000 20000 ext4 \
$lvmok{ } lv_name{ lv_virt } \
in_vg { sys } \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /mnt/virt } \
. \
50% 2000 75% linux-swap \
$lvmok{ } lv_name{ lv_swap } \
in_vg { crypt } \