summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-01 18:53:12 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-01 18:58:45 +0800
commit157e45729088806093a3b29e7ab66a6954222c21 (patch)
tree208e8e608bd16514b5a3bc6cffa81ebcdca0c6e8 /docker
parenta377099d6254aaced2bd459c8a42149bc93be773 (diff)
fix msb instance_config
Change-Id: I10fb9cba94717e8b0ec97fe906739090e3177f12 Issue-ID: VFC-1324 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/instance_config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/instance_config.sh b/docker/instance_config.sh
index 073d0e6f..185194cd 100755
--- a/docker/instance_config.sh
+++ b/docker/instance_config.sh
@@ -7,11 +7,11 @@ MR_IP=`echo $MR_ADDR | cut -d: -f 1`
MR_PORT=`echo $MR_ADDR | cut -d: -f 2`
if [ $MSB_IP ]; then
- sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/nfvo/lcm/lcm/pub/config/config.py
+ sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/nfvo/lcm/lcm/pub/config/config.py
fi
if [ $MSB_PORT ]; then
- sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/lcm/lcm/pub/config/config.py
+ sed -i "s|MSB_SERVICE_PORT = .*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/lcm/lcm/pub/config/config.py
fi
if [ $MR_IP ]; then