From a2176af5514fc55ad8421635ad70ce4f26890ed6 Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Fri, 30 Jun 2017 06:27:23 +0000 Subject: 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 --- tests/ci/clean_images.sh | 2 +- tests/ci/load_images.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ci') diff --git a/tests/ci/clean_images.sh b/tests/ci/clean_images.sh index f25006487..b3363cb12 100755 --- a/tests/ci/clean_images.sh +++ b/tests/ci/clean_images.sh @@ -15,7 +15,7 @@ cleanup() echo echo "========== Cleanup ==========" - 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="" diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh index 0c197b313..29d73dcbc 100755 --- a/tests/ci/load_images.sh +++ b/tests/ci/load_images.sh @@ -250,7 +250,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="" -- cgit 1.2.3-korg