Skip to content

Commit

Permalink
OS dynamic inventory: respect OS_CLOUD env var
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroaleman authored and abadger committed Aug 10, 2017
1 parent ebb1d75 commit fe5e1a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/inventory/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def main():
refresh=args.refresh,
config_files=config_files,
private=args.private,
cloud=os.environ.get('OS_CLOUD')
)
if hasattr(shade.inventory.OpenStackInventory, 'extra_config'):
inventory_args.update(dict(
Expand Down

0 comments on commit fe5e1a4

Please sign in to comment.