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