From: yangyan Date: Wed, 22 Jan 2020 09:33:54 +0000 (+0800) Subject: Modify global variable substitution X-Git-Tag: 1.3.7~10 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fgvnfm%2Fvnflcm.git;a=commitdiff_plain;h=52ed97c6d08bd8a1a66abe1e5f91ded4a9d6dc03 Modify global variable substitution Change-Id: I2dd0bb9d24b8aae8ef27417c3469017d7abf9393 Issue-ID: VFC-1595 Signed-off-by: yangyan --- diff --git a/lcm/docker/instance_config.sh b/lcm/docker/instance_config.sh index c7cc7504..9257c9ff 100755 --- 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 - 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 - 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