From 0974c3f572a41ad772e7263b95f6072387c8a83e Mon Sep 17 00:00:00 2001 From: yangyan Date: Fri, 21 Feb 2020 16:52:22 +0800 Subject: [PATCH] Modify global variable substitution Change-Id: I6fcd4f37b804cd0661b67190e45b02d1c7d0b522 Issue-ID: VFC-1595 Signed-off-by: yangyan --- res/docker/instance_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.16.6