summaryrefslogtreecommitdiffstats
path: root/mgr/docker/instance_config.sh
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-03-09 17:08:06 +0800
committerYan Yang <yangyanyj@chinamobile.com>2020-03-09 09:22:23 +0000
commit20e63944694bf3c99a240d7feafbba11fcca02a6 (patch)
tree54fbfca496156eadbc233c606a8b5d5c3d1c53cf /mgr/docker/instance_config.sh
parentd20d4ed1da3d7e303fe571f09b7ea5f14225efd2 (diff)
Fix vnfmgr instance_config.sh error
Change-Id: I98a8c2e873cee81fc39b57fc2e7f87d621496e1f Issue-ID: VFC-1645 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'mgr/docker/instance_config.sh')
-rwxr-xr-xmgr/docker/instance_config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mgr/docker/instance_config.sh b/mgr/docker/instance_config.sh
index 54c4528..e1ad7e1 100755
--- a/mgr/docker/instance_config.sh
+++ b/mgr/docker/instance_config.sh
@@ -9,7 +9,7 @@ if [ $REG_TO_MSB_WHEN_START ]; then
fi
if [ $MSB_IP ]; then
- sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py
+ sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py
fi
if [ $MSB_PROTO ]; then
@@ -17,7 +17,7 @@ if [ $MSB_PROTO ]; then
fi
if [ $MSB_PORT ]; then
- sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py
+ sed -i "s|MSB_SERVICE_PORT = .*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py
fi
if [ $SERVICE_IP ]; then