diff --git a/scripts/sandbox-install b/scripts/sandbox-install index e508663..ac71054 100644 --- a/scripts/sandbox-install +++ b/scripts/sandbox-install @@ -35,7 +35,7 @@ SERVICES=( "fstrim.service" "docker.service" "ovs-vswitchd.service" "marionnet.service" ) -SWAP_SIZE=16G +SWAP_SIZE=16GiB # Enable time synchronization timedatectl set-ntp true @@ -107,6 +107,13 @@ 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 + # Configure the network for DHCP echo "[Match] Name=en*