aboutsummaryrefslogtreecommitdiffstats
path: root/packer/provision/baseline.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-09-30 20:30:50 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-09-30 20:30:50 +0200
commit9cb7c23d969e90b9b0f11cfcd744dfb6dc548feb (patch)
treed6e4a5aa25cd25e4aabfdeaf2f8ba817f3247615 /packer/provision/baseline.sh
parentfd0296b4c0603f6275d087075bfe4a319db6a080 (diff)
Change dns back after firewall was resolved
Change-Id: I7d51f97167505d1b0b3456a1ddfe90e8b2e17fa8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer/provision/baseline.sh')
-rw-r--r--packer/provision/baseline.sh10
1 files changed, 2 insertions, 8 deletions
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