Actualiser scripts/sandbox-install

This commit is contained in:
Lyanis SOUIDI 2024-05-21 11:04:29 +02:00
parent 40979a4c97
commit 4f20e9b12a

View File

@ -107,9 +107,6 @@ echo "root:root" | chpasswd
# Install syslinux # Install syslinux
syslinux-install_update -iam syslinux-install_update -iam
# DNS configuration
ln -sf ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
# Disable multicast DNS and LLMNR # Disable multicast DNS and LLMNR
sed -i 's/#LLMNR=no/LLMNR=no/g' /etc/systemd/resolved.conf sed -i 's/#LLMNR=no/LLMNR=no/g' /etc/systemd/resolved.conf
sed -i 's/#MulticastDNS=no/MulticastDNS=no/g' /etc/systemd/resolved.conf sed -i 's/#MulticastDNS=no/MulticastDNS=no/g' /etc/systemd/resolved.conf
@ -220,6 +217,9 @@ systemctl enable "${SERVICES[@]}"
EOF EOF
# DNS configuration
ln -sf ../run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf
# Unmount the partitions # Unmount the partitions
swapoff /dev/sda1 swapoff /dev/sda1
umount -R /mnt umount -R /mnt