[openstack-dev] [All] IRC Mishaps

Clint Byrum clint at fewbar.com
Thu Feb 9 16:43:09 UTC 2017


Excerpts from Mark Voelker's message of 2017-02-09 15:41:33 +0000:
> I work with lots of different clouds and any time I switch focus to a terminal I have to figure out which cloud it’s environment is set up to use.  My terminal emulator has the same color scheme as my IRC client, so I’ve probably typed “set | grep OS_” into IRC accidentally about a million times over the years. 
> 

Quick tip:

#1 - Move all those bespoke rc's into a single clouds.yaml:
http://docs.openstack.org/developer/python-openstackclient/configuration.html

#2 - Abolish OS_* except OS_CLOUD from your environment variables

#3 - Add $OS_CLOUD to your $PS1 -- You will now always know what cloud
you're pointed at.



More information about the OpenStack-dev mailing list