Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Modify global variable substitution
[vfc/gvnfm/vnflcm.git]
/
lcm
/
docker
/
instance_config.sh
diff --git
a/lcm/docker/instance_config.sh
b/lcm/docker/instance_config.sh
index
c7cc750
..
9257c9f
100755
(executable)
--- a/
lcm/docker/instance_config.sh
+++ b/
lcm/docker/instance_config.sh
@@
-4,11
+4,11
@@
MSB_IP=`echo $MSB_ADDR | cut -d: -f 1`
MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`
if [ $MSB_IP ]; then
MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`
if [ $MSB_IP ]; then
- sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py
+ sed -i "s|MSB_SERVICE_IP
=
.*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py
fi
if [ $MSB_PORT ]; then
fi
if [ $MSB_PORT ]; then
- sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py
+ sed -i "s|MSB_SERVICE_PORT
=
.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py
fi
if [ $SERVICE_IP ]; then
fi
if [ $SERVICE_IP ]; then