Remove docker invalid address substitution 79/14079/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Thu, 21 Sep 2017 05:20:59 +0000 (13:20 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Thu, 21 Sep 2017 05:20:59 +0000 (13:20 +0800)
Change-Id: I03fe742e34c118e4e3e5601905bfab1af7e6f36b
Issue-ID: VFC-407
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
mgr/docker/instance_config.sh

index 4848b91..02e88c6 100755 (executable)
@@ -13,8 +13,6 @@ fi
 
 if [ $SERVICE_IP ]; then
     sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py
-    sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/gvnfm/vnfmgr/mgr/run.sh
-    sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/gvnfm/vnfmgr/mgr/stop.sh
 fi
 
 if [ $REDIS_HOST ]; then