summaryrefslogtreecommitdiffstats
path: root/tests/utils/tacker-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils/tacker-setup.sh')
-rw-r--r--tests/utils/tacker-setup.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/utils/tacker-setup.sh b/tests/utils/tacker-setup.sh
index 5ebf1f4..569840b 100644
--- a/tests/utils/tacker-setup.sh
+++ b/tests/utils/tacker-setup.sh
@@ -94,7 +94,10 @@ EOF
sudo mkdir -p /opt/tacker
sudo chown $USER /opt/tacker
cp $openrc /opt/tacker/admin-openrc.sh
-
+ if [[ -f /etc/ssl/certs/mcp_os_cacert ]]; then
+ cp /etc/ssl/certs/mcp_os_cacert /opt/tacker/mcp_os_cacert
+ fi
+
if [[ "$branch" == "" ]]; then branch="latest"; fi
log "Start tacker container with image blsaws/models-tacker:$branch"
OS_TENANT_ID=$(openstack project show admin | awk '/ id / {print $4}')