Fix svnfm-zte instance_config.sh error 49/103349/1 1.3.6
authoryangyan <yangyanyj@chinamobile.com>
Mon, 9 Mar 2020 10:26:28 +0000 (18:26 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Mon, 9 Mar 2020 10:26:46 +0000 (18:26 +0800)
Change-Id: I609978e07d6b490daa6063d6423924d63a269bbf
Issue-ID: VFC-1645
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
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