diff options
author | yangyan <yangyanyj@chinamobile.com> | 2020-02-21 16:42:12 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2020-02-21 16:42:17 +0800 |
commit | 20724692f07eb00b51cc215b79f069800a450bb2 (patch) | |
tree | 9fd6112c5f8dcb192c659f47786a2cbb3149638e /gvnfmadapter/docker/instance_config.sh | |
parent | 8ff2e4321da49d0af3ef9da2915206774f800161 (diff) |
Modify global variable substitution
Change-Id: I6f7e08a373babe5266dfb1af033206dff9c4827c
Issue-ID: VFC-1595
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'gvnfmadapter/docker/instance_config.sh')
-rwxr-xr-x | gvnfmadapter/docker/instance_config.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gvnfmadapter/docker/instance_config.sh b/gvnfmadapter/docker/instance_config.sh index a18ae7e..5debe45 100755 --- a/gvnfmadapter/docker/instance_config.sh +++ b/gvnfmadapter/docker/instance_config.sh @@ -5,7 +5,7 @@ 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/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py + sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py fi if [ $MSB_PROTO ]; then @@ -13,7 +13,7 @@ if [ $MSB_PROTO ]; then fi if [ $MSB_PORT ]; then - sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py + sed -i "s|MSB_SERVICE_PORT = .*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py fi if [ $SERVICE_IP ]; then |