Download a script to complete creation of btrfs subvolumes
This commit is contained in:
parent
8548ad1bc7
commit
54ffddf404
|
@ -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 umount /dev/crypt/lv_free ; \
|
d-i preseed/late_command string in-target umount /dev/crypt/lv_free ; \
|
||||||
lvremove -f /dev/crypt/lv_free ; \
|
lvremove -f /dev/crypt/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 ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
||||||
|
|
Loading…
Reference in New Issue