aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/load_images.sh
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-06-30 06:27:23 +0000
committerJing Lu <lvjing5@huawei.com>2017-07-05 03:55:48 +0000
commit961de9447288c431a47a42a31a70df23ccc726eb (patch)
tree74bb9122f076e51c2e69bf645026943f8ccc460d /tests/ci/load_images.sh
parent7bdb37105fb4520abba6568c85e1cf17dc4aafe6 (diff)
Use "OS_INSECURE" variable as the insecure mode indicator
Now we use "OS_CACERT" as the insecure mode indicator, it is better to use "OS_INSECURE". Change-Id: I1406193e27510390b4b8fd8f4751d8361560172f Signed-off-by: JingLu5 <lvjing5@huawei.com> (cherry picked from commit a2176af5514fc55ad8421635ad70ce4f26890ed6)
Diffstat (limited to 'tests/ci/load_images.sh')
-rwxr-xr-xtests/ci/load_images.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index 2ae80ea8e..bfe1184a1 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -256,7 +256,7 @@ main()
RAW_IMAGE='/home/opnfv/images/yardstick-image.tar.gz'
fi
- if [ $OS_CACERT ] && [ "$(echo $OS_CACERT | tr '[:upper:]' '[:lower:]')" = "false" ]; then
+ if [ $OS_INSECURE ] && [ "$(echo $OS_INSECURE | tr '[:upper:]' '[:lower:]')" = "true" ]; then
SECURE="--insecure"
else
SECURE=""