rhtconsulting / rhc-ose

OpenShift Automation and Utilities by Red Hat Consulting
42 stars 34 forks source link

Changing default openstack config directory to be inline with standar… #241

Closed etsauer closed 7 years ago

etsauer commented 7 years ago

What does this PR do?

The new standard openstack client config directory is located at ~/.config/openstack. As such I thought it would be appropriate to move the default directory we search in for openrc.sh files for openstack auth.

How should this be manually tested?

  1. move local ~/.openstack directory to ~/.config/openstack
  2. Rebuild docker image with docker/openstack-client-centos/run.sh
  3. Check that openrc.sh files are now mounted to ~/.config/openstack, and that all of your OS_* environment variables still load, and that you can authenticate with openstack api (i.e. openstack server list)

Is there a relevant Issue open for this?

n/a

Who would you like to review this?

/cc @oybed @sabre1041

…d directory name

oybed commented 7 years ago

Tested and working