Improved RackSpace configuration support (needed by latest version of rackspace API)

This commit is contained in:
Marco Vito Moscaritolo 2012-10-09 21:43:58 +02:00
parent de912381ac
commit 7fed89b51d
2 changed files with 11 additions and 5 deletions

View file

@ -99,7 +99,9 @@ client = nova_client.Client(
username = config.get('openstack', 'username'),
api_key = config.get('openstack', 'api_key'),
auth_url = config.get('openstack', 'auth_url'),
project_id = config.get('openstack', 'project_id')
region_name = config.get('openstack', 'region_name'),
project_id = config.get('openstack', 'project_id'),
auth_system = config.get('openstack', 'auth_system')
)
if len(sys.argv) == 2 and (sys.argv[1] == '--list'):