DNS fix for testcase 3 31/30931/1
authorRomanos Skiadas <rski@intracom-telecom.com>
Sat, 18 Mar 2017 19:14:00 +0000 (21:14 +0200)
committerRomanos Skiadas <rski@intracom-telecom.com>
Sat, 18 Mar 2017 19:19:22 +0000 (21:19 +0200)
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>
sdnvpn/artifacts/quagga_setup.sh

index 1785f14..96d7374 100644 (file)
@@ -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