Fix bug 921814 changes handling of adminPass in API.
Add a new nova configuration flag, boolean, enable_instance_password. When the flag is True (default), existing behavior is unchanged. When the flag is False, responses from the create or rebuild API calls don't include the adminPass attribute. Change-Id: Icb2bd703770f3a39bb1e458dc31e1489d48da7c1
This commit is contained in:
1
Authors
1
Authors
@@ -115,6 +115,7 @@ Matthew Hooker <matt@cloudscaling.com>
|
||||
Michael Gundlach <michael.gundlach@rackspace.com>
|
||||
Michael Still <mikal@stillhq.com>
|
||||
Mike Lundy <mike@pistoncloud.com>
|
||||
Mike Pittaro <mikeyp@lahondaresearch.org>
|
||||
Mike Scherbakov <mihgen@gmail.com>
|
||||
Mikyung Kang <mkkang@isi.edu>
|
||||
Mohammed Naser <mnaser@vexxhost.com>
|
||||
|
@@ -503,6 +503,10 @@ global_opts = [
|
||||
cfg.BoolOpt('use_ipv6',
|
||||
default=False,
|
||||
help='use ipv6'),
|
||||
cfg.BoolOpt('enable_instance_password',
|
||||
default=True,
|
||||
help='Allows use of instance password during '
|
||||
'server creation'),
|
||||
cfg.IntOpt('password_length',
|
||||
default=12,
|
||||
help='Length of generated instance admin passwords'),
|
||||
|
Reference in New Issue
Block a user