Disables the clear text password UI by default

The old way of assigning passwords in clear text to instances has been
superseded by the nova get-password feature. A corresponding UI
feature has been recently included in Horizon (see blueprint
"decrypt-and-display-vm-generated-password").

This commit disables the visualization of the old password UI by default.

Change-Id: Ia9a8b5c1c398054fb3d726b93f7fecc332b02efe
Closes-bug: #1291006
This commit is contained in:
Alessandro Pilotti 2014-03-11 21:14:34 +02:00
parent 6de70303cf
commit 5d6fe4b05f
3 changed files with 4 additions and 4 deletions

View File

@ -251,7 +251,7 @@ Default::
{
'can_set_mount_point': False,
'can_set_password': True
'can_set_password': False
}
A dictionary containing settings which can be used to identify the
@ -262,7 +262,7 @@ to instances (other Hypervisors currently do not). Setting
``can_set_mount_point`` to ``True`` will add the option to set the mount point
from the UI.
Setting ``can_set_password`` to ``False`` will remove the option to set
Setting ``can_set_password`` to ``True`` will enable the option to set
an administrator password when launching or rebuilding an instance.

View File

@ -762,4 +762,4 @@ def extension_supported(extension_name, request):
def can_set_server_password():
features = getattr(settings, 'OPENSTACK_HYPERVISOR_FEATURES', {})
return features.get('can_set_password', True)
return features.get('can_set_password', False)

View File

@ -160,7 +160,7 @@ OPENSTACK_KEYSTONE_BACKEND = {
# from the UI.
OPENSTACK_HYPERVISOR_FEATURES = {
'can_set_mount_point': False,
'can_set_password': True,
'can_set_password': False,
}
# The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional