Add a new preseed value for VG size

From Debian Buster, this is asked by the Debian-Installer.
This commit is contained in:
Jeremy Gardais 2019-01-10 11:20:38 +01:00
parent 5ac99225bb
commit 1311f8b8b0
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 5 additions and 4 deletions

View File

@ -160,12 +160,12 @@ d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true d-i partman-lvm/confirm_nooverwrite boolean true
## Volume Group/vg name ## Volume Group/vg name
d-i partman-auto-lvm/new_vg_name string sys d-i partman-auto-lvm/new_vg_name string sys
### From buster, need to specify the expected size
d-i partman-auto-lvm/guided_size string max
## LVM partition ## LVM partition
### This recipe need almost 30Gb free space it's add all <min size> ### This recipe need almost 30Gb free space.
### sda2 (16Gb), lv_* (~14Gb) then it should not count it because
### all logical volume are on sda2 ...
d-i partman-auto/expert_recipe string \ d-i partman-auto/expert_recipe string \
boot-root :: \ boot-root :: \
200 200000 250 ext3 \ 200 200000 250 ext3 \
@ -372,3 +372,4 @@ in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
in-target /bin/sh /tmp/latecommand/post.buster.sh in-target /bin/sh /tmp/latecommand/post.buster.sh
################################################################## ]]]