From 4f20e9b12a5efdb8d7b9dc1dc8b7db2ab9978950 Mon Sep 17 00:00:00 2001 From: Lyanis Souidi Date: Tue, 21 May 2024 11:04:29 +0200 Subject: [PATCH] Actualiser scripts/sandbox-install --- scripts/sandbox-install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/sandbox-install b/scripts/sandbox-install index 217b5f8..6e4f264 100644 --- a/scripts/sandbox-install +++ b/scripts/sandbox-install @@ -107,9 +107,6 @@ echo "root:root" | chpasswd # Install syslinux syslinux-install_update -iam -# DNS configuration -ln -sf ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf - # Disable multicast DNS and LLMNR sed -i 's/#LLMNR=no/LLMNR=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 +# DNS configuration +ln -sf ../run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf + # Unmount the partitions swapoff /dev/sda1 umount -R /mnt