From 17353bfbfad85f93afdce53b8d9be5496ffdb72e Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 26 Feb 2019 18:54:53 +0100 Subject: [PATCH] Add a specific ext4 LV for virtual machines --- debian/gaming.station.preseed | 8 ++++++++ debian/working.station.preseed | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/gaming.station.preseed b/debian/gaming.station.preseed index efaac59..347f251 100644 --- a/debian/gaming.station.preseed +++ b/debian/gaming.station.preseed @@ -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 } \ diff --git a/debian/working.station.preseed b/debian/working.station.preseed index a2f7c99..afb2bbf 100644 --- a/debian/working.station.preseed +++ b/debian/working.station.preseed @@ -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 } \