Pass region_name to nova_keypair
Again, on things with regions, when we're configuring it, we should actually pass it in to the compute constructor.
This commit is contained in:
parent
b81a37ad9b
commit
f3357099a7
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ def main():
|
||||||
module.params['login_password'],
|
module.params['login_password'],
|
||||||
module.params['login_tenant_name'],
|
module.params['login_tenant_name'],
|
||||||
module.params['auth_url'],
|
module.params['auth_url'],
|
||||||
|
region_name=module.params['region_name'],
|
||||||
service_type='compute')
|
service_type='compute')
|
||||||
try:
|
try:
|
||||||
nova.authenticate()
|
nova.authenticate()
|
||||||
|
|
Loading…
Reference in a new issue