From 3a770a3ec0bf6fbfabe8f778eeaad62f74c25798 Mon Sep 17 00:00:00 2001 From: lub Date: Wed, 29 Jan 2020 22:03:03 +0100 Subject: [PATCH] move resolv.conf to etc folder --- config/etc/resolv.conf | 2 ++ post-debootstrap-installer.sh | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 config/etc/resolv.conf diff --git a/config/etc/resolv.conf b/config/etc/resolv.conf new file mode 100644 index 0000000..14368e2 --- /dev/null +++ b/config/etc/resolv.conf @@ -0,0 +1,2 @@ +nameserver 1.1.1.1 +nameserver 8.8.8.8 \ No newline at end of file diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index 56b9905..0cc93d9 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -71,10 +71,6 @@ apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-conf systemctl enable systemd-networkd.service nftables.service -# set DNS -echo 'nameserver 1.1.1.1 -nameserver 8.8.8.8' > /etc/resolv.conf - ### Docker # has to be executed before the users section,