summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomanos Skiadas <rski@intracom-telecom.com>2017-03-18 21:14:00 +0200
committerRomanos Skiadas <rski@intracom-telecom.com>2017-03-18 21:19:22 +0200
commitf7a6f2593a1b99a0bd0459093d606dd4bdbb999a (patch)
treeb8bab45be97eaeab7fdd9b87cd732386f5b06eb9
parenta168ebdb0fc192e0185a150fbf146a53f3a0eec7 (diff)
DNS fix for testcase 3
The CI fails because the openstack DNS does not work. Make the VMs use 8.8.8.8 Change-Id: If0c45710cda402158171ce3436731d96bc346565 JIRA: SDNVPN-125 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
-rw-r--r--sdnvpn/artifacts/quagga_setup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sdnvpn/artifacts/quagga_setup.sh b/sdnvpn/artifacts/quagga_setup.sh
index 1785f14..96d7374 100644
--- a/sdnvpn/artifacts/quagga_setup.sh
+++ b/sdnvpn/artifacts/quagga_setup.sh
@@ -5,6 +5,11 @@ set -xe
# change the password because this script is run on a passwordless cloud-image
echo 'ubuntu:opnfv' | chpasswd
+# dns fix
+
+echo "8.8.8.8" > /etc/resolvconf/resolv.conf.d/head
+resolvconf -u
+
# Wait for a floating IP
# as a workaround to NAT breakage
sleep 20