From 54ffddf404e3dbf0c8127c01e93b553f9114872f Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 24 Jan 2019 16:42:03 +0100 Subject: [PATCH] Download a script to complete creation of btrfs subvolumes --- debian/sid.uefi.luks.btrfs.preseed | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/sid.uefi.luks.btrfs.preseed b/debian/sid.uefi.luks.btrfs.preseed index 1d4a696..74747ce 100644 --- a/debian/sid.uefi.luks.btrfs.preseed +++ b/debian/sid.uefi.luks.btrfs.preseed @@ -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 ; \ d-i preseed/late_command string in-target umount /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/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 ; \