From 9cb7c23d969e90b9b0f11cfcd744dfb6dc548feb Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 30 Sep 2016 20:30:50 +0200 Subject: Change dns back after firewall was resolved MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7d51f97167505d1b0b3456a1ddfe90e8b2e17fa8 Signed-off-by: Jan-Simon Möller --- packer/provision/baseline.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'packer') diff --git a/packer/provision/baseline.sh b/packer/provision/baseline.sh index e10b9f33..adf23afd 100644 --- a/packer/provision/baseline.sh +++ b/packer/provision/baseline.sh @@ -113,14 +113,8 @@ EOF cat /etc/resolv.conf || true echo "---> printing resolv.conf <---" - ping -c 2 8.8.8.8 - - echo "nameserver 8.8.8.8" >> /etc/resolv.conf - - echo "---> printing resolv.conf <---" - cat /etc/resolv.conf || true - echo "---> printing resolv.conf <---" - + ping -c 2 172.30.0.254 + ping -c 2 172.30.0.253 echo "---> Updating operating system" apt-get update -- cgit 1.2.3-korg