Use set_setting; alleviates pyrax requiring the ~/pyrax.cfg in order to establish identity_type
This commit is contained in:
parent
039d4c95d9
commit
e366712aca
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue