templates: openrc: Add missing 'insecure' and 'verify' options
If openrc_insecure is set to True, we need to export OS_INSECURE and OS_VERIFY in order for API calls to not verify SSL vertificates. We also need to add similar options to the clouds.yaml file as well. Change-Id: I50e411c5ff974ff9a0b67aca6e9d7e48db596df7
This commit is contained in:
parent
de238f6b4a
commit
a4a43d41e4
|
@ -16,3 +16,7 @@ clouds:
|
|||
{% else %}
|
||||
identity_api_version: "3"
|
||||
{% endif %}
|
||||
{% if openrc_insecure | bool %}
|
||||
verify: false
|
||||
insecure: true
|
||||
{% endif %}
|
||||
|
|
|
@ -31,6 +31,8 @@ export OS_AUTH_VERSION=3
|
|||
{% endif %}
|
||||
|
||||
{% if openrc_insecure | bool %}
|
||||
export OS_INSECURE=1
|
||||
export OS_VERIFY=
|
||||
# Convenience Aliases for Self-Signed Certs
|
||||
alias cinder='cinder --insecure'
|
||||
alias glance='glance --insecure'
|
||||
|
|
Loading…
Reference in New Issue