summaryrefslogtreecommitdiffstats
path: root/boot/dns_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-04-03 11:14:54 -0400
committerMarco Platania <platania@research.att.com>2018-04-03 11:14:54 -0400
commit78ef99f0d6df2bf296ad1c669b65a961203dc5ce (patch)
treeb79c69e5a994915c339e3d4d5c75d1ed66f073f0 /boot/dns_install.sh
parente76f2617f635bf5a799c333404485881300bfd53 (diff)
Add NBI configuration to DNS
Change-Id: I456d612171ab6f00a7f0390b585ea6208e047918 Issue-ID: INT-456 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/dns_install.sh')
-rw-r--r--boot/dns_install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index 239bfce5..fbe3df75 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -91,6 +91,7 @@ then
sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/aaf_ip_addr/"$(cat /opt/config/nbi_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.onap.org
sed -i "s/aai2_ip_addr/"$(cat /opt/config/aai2_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
@@ -110,6 +111,7 @@ then
sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/aaf_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
fi
# Configure Bind