Add mountpoint for lv_workl and ensure to remove it from fstab

This commit is contained in:
Jeremy Gardais 2016-11-29 09:26:16 +01:00
parent 5ba9f53b02
commit 9626f473e0
1 changed files with 2 additions and 0 deletions

View File

@ -240,6 +240,7 @@ d-i partman-auto/expert_recipe string \
method{ format } format{ } \ method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \ use_filesystem{ } filesystem{ ext4 } \
label{ DataDisk } \ label{ DataDisk } \
mountpoint{ /mnt/workl } \
. .
## Put all free space in a DataDisk logical volume ## Put all free space in a DataDisk logical volume
@ -340,6 +341,7 @@ d-i cdrom-detect/eject boolean false
#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 ; \ #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 chsh -s /bin/zsh ; \ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
in-target /bin/rmdir /mnt/workl ; in-target /bin/sed -i '/lv_workl/d' /etc/fstab ; \
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
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/ ; \