Add new config to disable openrc_v2 in horizon

it's now possible to remove the openstack rc file v2 from horizon download list.

Change-Id: I7aa8d7a911585e00d8ede92bf909492cf70cba6e
This commit is contained in:
Marc Gariepy 2019-10-28 15:46:10 -04:00
parent b08e3b2203
commit 10aa884a16
3 changed files with 10 additions and 0 deletions

View File

@ -253,6 +253,9 @@ horizon_keystone_multidomain_dropdown: False
horizon_keystone_default_domain: Default
# Enable/disable v2 openrc file download in horizon.
horizon_show_keystone_v2_rc: True
### Set the cacert pem for Keystone if you'd like Horizon to verify it.
# horizon_cacert_pem: /path/to/cacert.pem

View File

@ -0,0 +1,5 @@
---
features:
- Add the possibility to disable openrc v2 download in the dashboard. new var
``horizon_show_keystone_v2_rc`` can be set to ``False`` to remove the
entry for the openrc v2 download.

View File

@ -92,6 +92,8 @@ OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "{{ horizon_keystone_default_domain }}"
{% endif %}
{% endif %}
SHOW_KEYSTONE_V2_RC = "{{ horizon_show_keystone_v2_rc }}"
# Set Console type:
# valid options are "AUTO"(default), "VNC", "SPICE", "RDP", "SERIAL" or None
# Set to None explicitly if you want to deactivate the console.