summaryrefslogtreecommitdiffstats
path: root/res/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-02-21 16:52:22 +0800
committerYan Yang <yangyanyj@chinamobile.com>2020-02-21 08:53:16 +0000
commit0974c3f572a41ad772e7263b95f6072387c8a83e (patch)
tree95f32bbdd80c68f0d74525d6ed23da2a7d580d80 /res/docker
parent9456cb60f814945aa6fdaf6e241613d0785eaf04 (diff)
Modify global variable substitution
Change-Id: I6fcd4f37b804cd0661b67190e45b02d1c7d0b522 Issue-ID: VFC-1595 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'res/docker')
-rwxr-xr-xres/docker/instance_config.sh4
1 files 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