Merge "Fix svnfm-zte instance_config.sh error"
authorhongyu zhao <zhao.hongyu@zte.com.cn>
Tue, 10 Mar 2020 02:11:31 +0000 (02:11 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 10 Mar 2020 02:11:31 +0000 (02:11 +0000)
zte/vmanager/docker/instance_config.sh

index 7011f11..3abc85c 100755 (executable)
@@ -13,11 +13,11 @@ if [ $MSB_PROTO ]; then
 fi
 
 if [ $MSB_IP ]; then
-    sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/driver/pub/config/config.py
+    sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/driver/pub/config/config.py
 fi
 
 if [ $MSB_PORT ]; then
-    sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/driver/pub/config/config.py
+    sed -i "s|MSB_SERVICE_PORT = .*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/driver/pub/config/config.py
 fi
 
 if [ $SERVICE_IP ]; then