We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0f41d7 + cd5aec9 commit defe6b0Copy full SHA for defe6b0
bin/rally-verify-wrapper.sh
@@ -78,7 +78,16 @@ else
78
fi
79
set -x
80
81
-unset OS_CACERT
+if [[ -z "$(sudo ls -A /usr/local/share/ca-certificates)" ]]; then
82
+ # Assume that any CA certificate referenced in the openrc file will not be
83
+ # valid within the container.
84
+ unset OS_CACERT
85
+else
86
+ # Use the container's system CA trust store. This allows for bind mounting a CA
87
+ # certificate under /usr/local/share/ca-certificates/.
88
+ sudo update-ca-certificates
89
+ export OS_CACERT=/etc/ssl/certs/ca-certificates.crt
90
+fi
91
92
crudini --set ~/.rally/rally.conf DEFAULT openstack_client_http_timeout 300
93
crudini --set ~/.rally/rally.conf openstack flavor_ref_ram 128
0 commit comments