From: yangyan Date: Mon, 9 Mar 2020 09:08:06 +0000 (+0800) Subject: Fix vnfmgr instance_config.sh error X-Git-Tag: 1.3.8~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=20e63944694bf3c99a240d7feafbba11fcca02a6;p=vfc%2Fgvnfm%2Fvnfmgr.git Fix vnfmgr instance_config.sh error Change-Id: I98a8c2e873cee81fc39b57fc2e7f87d621496e1f Issue-ID: VFC-1645 Signed-off-by: yangyan --- 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