DNS fix for testcase 3
[sdnvpn.git] / sdnvpn / artifacts / quagga_setup.sh
index 8a90198..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
@@ -68,6 +73,6 @@ log file ${BGPD_LOG_FILE}
 end
 CATEOF
 chown quagga:quagga $BGPD_CONFIG_LOCATION
-
+service quagga restart
 pgrep bgpd
 pgrep zebra