summaryrefslogtreecommitdiffstats
path: root/boot/dns_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-06-06 10:24:33 -0400
committerMarco Platania <platania@research.att.com>2017-06-06 10:24:33 -0400
commit2c49993be9e4d32c3963b4244396c4e6197c3970 (patch)
treec66e9b5ab63ce4dcd739ff84320c81a985bc68be /boot/dns_install.sh
parent9f94d8c2fd838c1607f630dfdd5f936605d9873f (diff)
Add second AAI instance to OpenStack templates
Change-Id: I48799b2d7b4aec5b0bd627d9bec291c9f14c8787 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/dns_install.sh')
-rw-r--r--boot/dns_install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index 58bb4d78..9cf5c324 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -65,7 +65,8 @@ if [[ $CLOUD_ENV != "rackspace" ]]
then
sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/named.conf.options
sed -i "s/external_dns/"$(cat /opt/config/external_dns.txt)"/g" /etc/bind/named.conf.options
- sed -i "s/aai_ip_addr/"$(cat /opt/config/aai_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/aai1_ip_addr/"$(cat /opt/config/aai1_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/aai2_ip_addr/"$(cat /opt/config/aai2_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/appc_ip_addr/"$(cat /opt/config/appc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dcae_ip_addr/"$(cat /opt/config/dcae_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org