summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)