add bind9 options for designate 27/21427/2
authorGuo Ruijing <ruijing.guo@intel.com>
Tue, 31 Oct 2017 14:59:23 +0000 (07:59 -0700)
committerGuo Ruijing <ruijing.guo@intel.com>
Wed, 1 Nov 2017 08:46:31 +0000 (01:46 -0700)
Change-Id: I3dbc4ea6a49e01850918cbe8662fed78269da5af
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
ocata/vagrant/bootstrap.sh
ocata/vagrant/setup_cell.sh
ocata/vagrant/setup_compute.sh
ocata/vagrant/setup_control.sh

index 79d31be..2f2d1b1 100644 (file)
@@ -1,10 +1,10 @@
-#!/usr/bin/env bash
+#!/bin/bash
 
-set -e
+set -ex
 
 sudo apt-get update -y
 sudo apt-get install git -y
-git clone https://github.com/openstack-dev/devstack 
+git clone https://github.com/openstack-dev/devstack
 cd devstack; git checkout stable/ocata
 sudo apt-get install openvswitch-switch -y
 sudo ovs-vsctl add-br br-ex
index 0fa736a..4426501 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/bash
-set -e
+set -ex
 
 source ~/devstack/openrc admin admin
 nova-manage cell_v2 discover_hosts
index 7b5964e..56ef08b 100644 (file)
@@ -1,6 +1,6 @@
-#!/usr/bin/env bash
+#!/bin/bash
 
-set -e
+set -ex
 
 cd devstack
 cp /vagrant/compute.conf local.conf
index fb7ef8a..15cf2c7 100644 (file)
@@ -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