Build keystonerc_demo for demo user
If provisioning a demo network with a demo keystone user, create the keystonerc_demo file. Also makes the demo user password configurable. Change-Id: I4b85a3389c273dc9d77d0cd6674b9b59f633afa7
This commit is contained in:
@@ -74,6 +74,18 @@ def initConfig(controllerObject):
|
||||
"USE_DEFAULT" : True,
|
||||
"NEED_CONFIRM" : False,
|
||||
"CONDITION" : False },
|
||||
{"CMD_OPTION" : "keystone-demo-passwd",
|
||||
"USAGE" : "The password to use for the Keystone demo user",
|
||||
"PROMPT" : "Enter the password for the Keystone demo user",
|
||||
"OPTION_LIST" : [],
|
||||
"VALIDATORS" : [validators.validate_not_empty],
|
||||
"DEFAULT_VALUE" : uuid.uuid4().hex[:16],
|
||||
"MASK_INPUT" : True,
|
||||
"LOOSE_VALIDATION": False,
|
||||
"CONF_NAME" : "CONFIG_KEYSTONE_DEMO_PW",
|
||||
"USE_DEFAULT" : True,
|
||||
"NEED_CONFIRM" : False,
|
||||
"CONDITION" : False },
|
||||
{"CMD_OPTION" : "keystone-token-format",
|
||||
"USAGE" : "Kestone token format. Use either UUID or PKI",
|
||||
"PROMPT" : "Enter the Keystone token format.",
|
||||
|
||||
Reference in New Issue
Block a user