Set DNS during setup

This commit is contained in:
Taylor Helsper 2020-04-01 23:46:53 -05:00
parent e640fa7ca1
commit f7313b263b

View File

@ -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