Bugfix: correct the path of pod.yaml 77/20377/1
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Thu, 1 Sep 2016 02:20:17 +0000 (10:20 +0800)
committerliang gao <jean.gaoliang@huawei.com>
Tue, 6 Sep 2016 01:42:54 +0000 (01:42 +0000)
According to
https://build.opnfv.org/ci/job/yardstick-fuel-zte-pod2-daily-master/12/console,
correct the path of pod.yaml.

Change-Id: Ie364e1485b4a26c225062e8817a7d413d8c419fc
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
(cherry picked from commit f5966b387360aeef3416a0b6eb825e6e36c7d9b8)

tests/ci/prepare_env.sh

index 8c0a8ba..5529a6f 100755 (executable)
@@ -90,7 +90,7 @@ if [ "$INSTALLER_TYPE" == "fuel" ]; then
     controller_ips=($(cat fuel_node|grep controller|awk '{print $10}'))
     compute_ips=($(cat fuel_node|grep compute|awk '{print $10}'))
 
-    pod_yaml="/etc/yardstick/nodes/fuel_baremetal/pod.yaml"
+    pod_yaml="./etc/yardstick/nodes/fuel_baremetal/pod.yaml"
 
     if [[ ${controller_ips[0]} ]]; then
         sed -i "s/ip1/${controller_ips[0]}/" $pod_yaml;