Ensure to delete the extra LV (lv_free) See #2
This commit is contained in:
parent
b38107d9c4
commit
e17d700fc0
|
@ -353,6 +353,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -344,6 +344,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -344,6 +344,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -344,6 +344,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -353,6 +353,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -344,6 +344,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -344,6 +344,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -344,6 +344,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -350,6 +350,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
|
@ -341,6 +341,8 @@ 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 ; \
|
||||||
|
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
||||||
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/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.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.27.239 -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/ ; \
|
||||||
|
|
Loading…
Reference in New Issue