summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-04-14 12:33:34 -0700
committerMarco Platania <platania@research.att.com>2017-04-14 19:35:26 +0000
commit2ccf2c835c45003d26c6a454ef0bdd86fc075a10 (patch)
tree9a8c77f522f8be87e1395c861b7d8f5821b19938 /boot
parentb3ee630713d9fd28e0db5c1ada3263b5f318f013 (diff)
fix bug in dns install script
Change-Id: I80a8f14f3f9fd084c8cb4c6878c9dc612bccf543 Signed-off-by: Marco Platania <platania@research.att.com> (cherry picked from commit f5311062d139e0f1cd0b9b9fbc664a044c8782d5)
Diffstat (limited to 'boot')
-rw-r--r--boot/dns_install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index cba47ef4..ca5e894d 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -35,6 +35,7 @@ curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/named.conf.local
# Set the private IP address of each ONAP VM in the Bind configuration in OpenStack deployments
if [[ $CLOUD_ENV == "openstack" ]]
then
+ sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/named.conf.options
A=$(cat /opt/config/dcae_ip_addr.txt | cut -d"." -f1)
B=$(cat /opt/config/dcae_ip_addr.txt | cut -d"." -f2)
C=$(cat /opt/config/dcae_ip_addr.txt | cut -d"." -f3)