Use OS_CLOUD environment variable
If OS_CLOUD env variable is set, that should be used. Change-Id: If2578fcd069ba60e33b375c04ba2912affce53e0
This commit is contained in:
parent
26159d9d78
commit
ee6e66649f
|
@ -67,8 +67,8 @@ opts = [
|
||||||
cfg.StrOpt('ansible_python_interpreter', default=None),
|
cfg.StrOpt('ansible_python_interpreter', default=None),
|
||||||
cfg.BoolOpt('debug', help='Print tracebacks for exceptions'),
|
cfg.BoolOpt('debug', help='Print tracebacks for exceptions'),
|
||||||
cfg.StrOpt('serial', default=1),
|
cfg.StrOpt('serial', default=1),
|
||||||
cfg.StrOpt('os-cloud', default=None, help=('Provide authentication '
|
cfg.StrOpt('os-cloud', default=os.environ.get('OS_CLOUD'),
|
||||||
'with clouds.yaml file.')),
|
help=('Provide authentication with clouds.yaml file.')),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue