From: yangyan Date: Fri, 21 Feb 2020 08:52:22 +0000 (+0800) Subject: Modify global variable substitution X-Git-Tag: 1.3.7~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F102128%2F2;p=vfc%2Fgvnfm%2Fvnfres.git Modify global variable substitution Change-Id: I6fcd4f37b804cd0661b67190e45b02d1c7d0b522 Issue-ID: VFC-1595 Signed-off-by: yangyan --- diff --git a/res/docker/instance_config.sh b/res/docker/instance_config.sh index 6860429..6ed2988 100755 --- a/res/docker/instance_config.sh +++ b/res/docker/instance_config.sh @@ -9,11 +9,11 @@ if [ $MSB_PROTO ]; then fi if [ $MSB_IP ]; then - sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py + sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py fi if [ $MSB_PORT ]; then - sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py + sed -i "s|MSB_SERVICE_PORT = .*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py fi if [ $SERVICE_IP ]; then