Code Review
/
demo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b3ee630
)
fix bug in dns install script
51/3451/1
author
Marco Platania
<platania@research.att.com>
Fri, 14 Apr 2017 19:33:34 +0000
(12:33 -0700)
committer
Marco Platania
<platania@research.att.com>
Fri, 14 Apr 2017 19:35:26 +0000
(19:35 +0000)
Change-Id: I80a8f14f3f9fd084c8cb4c6878c9dc612bccf543
Signed-off-by: Marco Platania <platania@research.att.com>
(cherry picked from commit
f5311062d139e0f1cd0b9b9fbc664a044c8782d5
)
boot/dns_install.sh
patch
|
blob
|
history
diff --git
a/boot/dns_install.sh
b/boot/dns_install.sh
index
cba47ef
..
ca5e894
100644
(file)
--- 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)