From: Frank Brehm Date: Wed, 10 Apr 2019 07:59:19 +0000 (+0200) Subject: Changing generation of /etc/resolv.conf X-Git-Tag: 2.1.2~12 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=e22699789812b1697ac5040e79afe60f488f9ff2;p=pixelpark%2Fcreate-vmware-tpl.git Changing generation of /etc/resolv.conf --- diff --git a/bin/postinst b/bin/postinst index 790ed20..8f7bf4b 100644 --- a/bin/postinst +++ b/bin/postinst @@ -258,12 +258,14 @@ manage_dns() { cat <<-EOF >"/etc/resolv.conf" search pixelpark.net pixelpark.com - nameserver 217.66.52.10 nameserver 93.188.109.13 + nameserver 217.66.52.10 nameserver 212.91.225.75 EOF + log "New /etc/resolv.conf:\n$(cat /etc/resolv.conf )" + } #----------------------------------------------------------- diff --git a/bin/postinst.chrony b/bin/postinst.chrony index 11cf56c..6b9d606 100644 --- a/bin/postinst.chrony +++ b/bin/postinst.chrony @@ -247,12 +247,14 @@ manage_dns() { cat <<-EOF >"/etc/resolv.conf" search pixelpark.net pixelpark.com - nameserver 217.66.52.10 nameserver 93.188.109.13 + nameserver 217.66.52.10 nameserver 212.91.225.75 EOF + log "New /etc/resolv.conf:\n$(cat /etc/resolv.conf )" + } #-----------------------------------------------------------