From f7313b263bee919be0d40c051adae11de87f0b4d Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Wed, 1 Apr 2020 23:46:53 -0500 Subject: [PATCH] Set DNS during setup --- setup/setup_device.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 1bb6daee..214f83a9 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -50,6 +50,12 @@ sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1 sysctl -w net.ipv6.conf.lo.disable_ipv6=1 +# Set DNS for install +echo "" > /etc/resolv.conf +echo "nameserver 1.1.1.1" >> /etc/resolv.conf +echo "nameserver 9.9.9.9" >> /etc/resolv.conf +echo "nameserver 8.8.8.8" >> /etc/resolv.conf + # Make sure FS is expanded for armbian if [ $IS_ARMBIAN = 1 ] ; then