From 9486c02189fca1e797f6b631a8db3678ebfa2e6f Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 5 Mar 2019 18:51:08 +0100 Subject: [PATCH] Preseed: Set a specific vgname for gaming station --- debian/gaming.station.preseed | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/gaming.station.preseed b/debian/gaming.station.preseed index 4791423..7658670 100644 --- a/debian/gaming.station.preseed +++ b/debian/gaming.station.preseed @@ -176,7 +176,7 @@ d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm_nooverwrite boolean true ## Volume Group/vg -d-i partman-auto-lvm/new_vg_name string sys +d-i partman-auto-lvm/new_vg_name string srog ### From stretch, need to specify the expected size d-i partman-auto-lvm/guided_size string max @@ -191,7 +191,7 @@ d-i partman-auto/expert_recipe string \ . \ 16000 100000 80000 btrfs \ $lvmok{ } lv_name{ lv_root } \ - in_vg { sys } \ + in_vg { srog } \ $primary{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ btrfs } \ @@ -206,13 +206,13 @@ d-i partman-auto/expert_recipe string \ . \ 50% 2000 75% linux-swap \ $lvmok{ } lv_name{ lv_swap } \ - in_vg { sys } \ + in_vg { srog } \ $primary{ } \ method{ swap } format{ } \ . \ 100 100 -1 ext2 \ $lvmok{ } lv_name{ lv_free } \ - in_vg { sys } \ + in_vg { srog } \ $primary{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext2 } \ @@ -322,8 +322,8 @@ d-i cdrom-detect/eject boolean false ## Execute some last commands #in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \ -d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \ -lvremove -f /dev/sys/lv_free ; \ +d-i preseed/late_command string in-target umount /dev/srog/lv_free ; \ +lvremove -f /dev/srog/lv_free ; \ wget -O /tmp/part.btrfs.sh "https://git.101010.fr/gardouille-dotfiles/scripts/raw/master/debian/part.btrfs.sh" ; \ chmod +x /tmp/part.btrfs.sh && /tmp/part.btrfs.sh ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \