From b591c04880d516ec22cf278644b504126d5a196f Mon Sep 17 00:00:00 2001 From: Ben Duncan <5178243+benduncan@users.noreply.github.com> Date: Mon, 20 Apr 2026 11:27:49 +1000 Subject: [PATCH] firstboot tweaks --- cmd/installer/firstboot/firstboot.go | 4 ++++ scripts/setup.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/installer/firstboot/firstboot.go b/cmd/installer/firstboot/firstboot.go index 16ec33abd..e3279fda7 100644 --- a/cmd/installer/firstboot/firstboot.go +++ b/cmd/installer/firstboot/firstboot.go @@ -123,6 +123,10 @@ for _i in $(seq 1 120); do sleep 1 done +# Create default nameservers if DHCP server returns blank +printf "nameserver 1.1.1.1\nnameserver 8.8.8.8\n" > /etc/resolvconf/resolv.conf.d/base +resolvconf -u + # Configure OVN networking. # br-wan (and br-lan if present) are Linux bridges created by the installer. # setup-ovn.sh auto-detects br-wan as the default route device (Linux bridge) diff --git a/scripts/setup.sh b/scripts/setup.sh index fca824013..005428aff 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -165,7 +165,7 @@ install_apt_deps() { DEBIAN_FRONTEND=noninteractive $SUDO apt-get install -y -qq \ nbdkit \ - $QEMU_PACKAGES qemu-utils qemu-kvm \ + $QEMU_PACKAGES qemu-utils qemu-kvm less \ libvirt-daemon-system libvirt-clients \ jq curl iproute2 netcat-openbsd wget unzip xz-utils file \ ovn-central ovn-host openvswitch-switch dhcpcd-base \