diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-10-05 13:48:41 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-10-05 13:48:41 -0400 |
commit | 3073d1f729f9dcd202088f6b318b465567c6344b (patch) | |
tree | c86ab69cda7d6a1402c779968bb20b41c8fd4012 /inventory/openstack/hosts | |
parent | 7918909dc7c6877a4ce2b9fab830d0c41c1c92fd (diff) | |
download | openshift-3073d1f729f9dcd202088f6b318b465567c6344b.tar.gz openshift-3073d1f729f9dcd202088f6b318b465567c6344b.tar.bz2 openshift-3073d1f729f9dcd202088f6b318b465567c6344b.tar.xz openshift-3073d1f729f9dcd202088f6b318b465567c6344b.zip |
Revert "GCE support"
Diffstat (limited to 'inventory/openstack/hosts')
-rwxr-xr-x | inventory/openstack/hosts/nova.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inventory/openstack/hosts/nova.py b/inventory/openstack/hosts/nova.py index 3197a57bc..d5bd8d1ee 100755 --- a/inventory/openstack/hosts/nova.py +++ b/inventory/openstack/hosts/nova.py @@ -34,7 +34,7 @@ except ImportError: # executed with no parameters, return the list of # all groups and hosts -NOVA_CONFIG_FILES = [os.path.join(os.path.dirname(os.path.realpath(__file__)), "nova.ini"), +NOVA_CONFIG_FILES = [os.getcwd() + "/nova.ini", os.path.expanduser(os.environ.get('ANSIBLE_CONFIG', "~/nova.ini")), "/etc/ansible/nova.ini"] |