Allow possibility to disable heatstack password

This allow the possibility to disable the heat stack password field.

Change-Id: I8dcf212398570c5d124bac769614b968d8b8cb12
(cherry picked from commit 2d6664d3c5)
This commit is contained in:
Marc Gariepy 2017-06-28 08:51:35 -04:00 committed by Marc Gariépy
parent 9e7a514479
commit e2e28afd60
3 changed files with 7 additions and 1 deletions

View File

@ -101,6 +101,7 @@ horizon_enforce_password_check: False
horizon_disable_password_reveal: False
horizon_enable_password_retrieve: False
horizon_enable_password_autocomplete: False
horizon_enable_heatstack_user_pass: True
# If nova_libvirt_inject_password is set to True, then this can also be enabled:
horizon_can_set_password: False
horizon_enable_cinder_backup: False

View File

@ -0,0 +1,5 @@
---
features:
- It's now possible to disable heat stack password field in horizon.
``horizon_enable_heatstack_user_pass`` variable has been added and
default to True.

View File

@ -311,7 +311,7 @@ OPENSTACK_NEUTRON_NETWORK = {
# The OPENSTACK_HEAT_STACK settings can be used to disable password
# field required while launching the stack.
OPENSTACK_HEAT_STACK = {
'enable_user_pass': True,
'enable_user_pass': {{ horizon_enable_heatstack_user_pass }},
}
# The OPENSTACK_IMAGE_BACKEND settings can be used to customize features