mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Use set_setting; alleviates pyrax requiring the ~/pyrax.cfg in order to establish identity_type
This commit is contained in:
@@ -112,6 +112,8 @@ except KeyError, e:
|
||||
sys.stderr.write('Unable to load %s\n' % e.message)
|
||||
sys.exit(1)
|
||||
|
||||
pyrax.set_setting('identity_type', 'rackspace')
|
||||
|
||||
try:
|
||||
pyrax.set_credential_file(os.path.expanduser(creds_file),
|
||||
region=region)
|
||||
|
||||
Reference in New Issue
Block a user