Fix bugs in docker build scripts 91/11591/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Mon, 11 Sep 2017 07:33:42 +0000 (15:33 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Mon, 11 Sep 2017 07:33:42 +0000 (15:33 +0800)
Change-Id: Ic2818ff36834e825edbd2374b06f7e5165004112
Issue-ID: VFC-324
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
res/docker/instance_config.sh

index 0d12bf8..5affa90 100755 (executable)
@@ -13,8 +13,8 @@ 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/nfvo/lcm/run.sh
-    sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/nfvo/lcm/stop.sh
+    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