Remove docker invalid address substitution 79/14179/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Thu, 21 Sep 2017 05:41:26 +0000 (13:41 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Thu, 21 Sep 2017 05:41:26 +0000 (13:41 +0800)
Change-Id: I88270ef02b15553f0747b780de63261a0589e94a
Issue-ID: VFC-409
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
res/docker/instance_config.sh

index 5affa90..edf1beb 100755 (executable)
@@ -13,8 +13,6 @@ fi
 
 if [ $SERVICE_IP ]; then
     sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
-    sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/gvnfm/vnfres/res/run.sh
-    sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/gvnfm/vnfres/res/stop.sh
 fi
 
 if [ $REDIS_HOST ]; then