OS dynamic inventory: respect OS_CLOUD env var

pull/28030/head
Alvaro Aleman 8 years ago committed by Toshio Kuratomi
parent ebb1d75ee0
commit fe5e1a4bc4

@ -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(

Loading…
Cancel
Save