summaryrefslogtreecommitdiffstats
path: root/ocata/vagrant/setup_control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ocata/vagrant/setup_control.sh')
-rw-r--r--ocata/vagrant/setup_control.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/ocata/vagrant/setup_control.sh b/ocata/vagrant/setup_control.sh
index fb7ef8ac..15cf2c79 100644
--- a/ocata/vagrant/setup_control.sh
+++ b/ocata/vagrant/setup_control.sh
@@ -1,7 +1,11 @@
-#!/usr/bin/env bash
+#!/bin/bash
-set -e
+set -ex
cd devstack
cp /vagrant/control.conf local.conf
./stack.sh
+
+sudo sed -i "s/recursion no;/recursion yes;\n forwarders { 8.8.8.8; 8.8.8.4; };/" \
+ /etc/bind/named.conf.options
+sudo service bind9 restart