move /etc/resolv.conf to the end

this prevents dns from breakign during setup
master
lub 3 years ago
parent 94d48cdf8c
commit 0e56b936b9

@ -1 +0,0 @@
nameserver 127.0.0.1

@ -76,12 +76,6 @@ apt-get -y install chrony
### dns
apt-get -y install unbound
### Docker ### Docker
# has to be executed before the users section, # has to be executed before the users section,
# because otherwise the docker group doesn't exist # because otherwise the docker group doesn't exist
@ -121,3 +115,12 @@ apt-get -y install \
traceroute \ traceroute \
tcpdump \ tcpdump \
openssh-server openssh-server
### dns
apt-get -y install unbound
# as last step set dns to local
echo 'nameserver 127.0.0.1' > /etc/resolv.conf

Loading…
Cancel
Save