From: ying.yunlong Date: Thu, 21 Sep 2017 05:41:26 +0000 (+0800) Subject: Remove docker invalid address substitution X-Git-Tag: v1.0.0~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=52e436b79e962defe89cf4593beceac70ea5c5e4;p=vfc%2Fgvnfm%2Fvnfres.git Remove docker invalid address substitution Change-Id: I88270ef02b15553f0747b780de63261a0589e94a Issue-ID: VFC-409 Signed-off-by: ying.yunlong --- diff --git a/res/docker/instance_config.sh b/res/docker/instance_config.sh index 5affa90..edf1beb 100755 --- a/res/docker/instance_config.sh +++ b/res/docker/instance_config.sh @@ -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