diff --git a/debian/post.install.ovh.sh b/debian/post.install.ovh.sh index 9d6363f..15f6e2b 100755 --- a/debian/post.install.ovh.sh +++ b/debian/post.install.ovh.sh @@ -35,10 +35,10 @@ apt update apt --assume-yes install -- wget # Remove last partition with all free space -umount /dev/sys/free -lvremove --force /dev/sys/free +umount /mnt/free +lvremove --force /dev/mapper/vg-free /bin/rmdir --force -- /mnt/free -/bin/sed --in-place -- '/lv_free/d' /etc/fstab +/bin/sed --in-place -- ';/mnt/free;d' /etc/fstab # Allow root connection with password /bin/sed --in-place -- 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config