summaryrefslogtreecommitdiffstats
path: root/dovetail/container.py
diff options
context:
space:
mode:
Diffstat (limited to 'dovetail/container.py')
-rw-r--r--dovetail/container.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/dovetail/container.py b/dovetail/container.py
index 4c0d8c33..8b4f0fcd 100644
--- a/dovetail/container.py
+++ b/dovetail/container.py
@@ -137,6 +137,10 @@ class Container(object):
docker_vol = '-v /var/run/docker.sock:/var/run/docker.sock'
env = ('-e Yardstick_TAG={} -e OUTPUT_FILE={}.out'
.format(yard_tag, testcase_name))
+ insecure = os.getenv("OS_INSECURE")
+ if insecure and insecure.lower() == 'true':
+ env = env + " -e OS_CACERT=False "
+
report = ""
if dovetail_config['report_dest'].startswith("http"):
report = ("-e BOTTLENECKS_DB_TARGET={}"