From f5311062d139e0f1cd0b9b9fbc664a044c8782d5 Mon Sep 17 00:00:00 2001 From: Marco Platania Date: Fri, 14 Apr 2017 12:33:34 -0700 Subject: [PATCH] fix bug in dns install script Change-Id: I80a8f14f3f9fd084c8cb4c6878c9dc612bccf543 Signed-off-by: Marco Platania --- boot/dns_install.sh | 1 + 1 file changed, 1 insertion(+) 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) -- 2.16.6