summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-09-04 23:48:52 +0200
committerFatih Degirmenci <fdegir@gmail.com>2018-09-04 23:48:52 +0200
commitd4afa2b7ec9fd173055a0e9cc21314174eeb8c1b (patch)
tree5786bebfd8a8c3d80cdb5a1c4ead17acb59530de
parentf48050cbf6b761eba3b9f1d56e420ba3eebd6d64 (diff)
Fix openrc OS_CACERT for yardstick docker container
The openrc should contain the path to OS_CACERT within container, not on opnfv vm. Change-Id: Ief4cb4ae647ff0f2cd4f3ebe8a2993bb71b0363f Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
-rw-r--r--xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2 b/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2
index 5eaf7bdb..82cf0eaf 100644
--- a/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2
+++ b/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2
@@ -19,7 +19,7 @@ DOCKER_IMAGE_NAME="opnfv/yardstick"
YARDSTICK_SCENARIO_SUITE_NAME="opnfv_${DEPLOY_SCENARIO}_daily.yaml"
# add OS_CACERT to openrc
-echo "export OS_CACERT=$OS_CACERT" >> ~/openrc
+echo "export OS_CACERT=/etc/yardstick/os_cacert" >> ~/openrc
opts="--privileged=true --rm"
envs="-e INSTALLER_TYPE=$INSTALLER_TYPE -e INSTALLER_IP=$INSTALLER_IP \