summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2015-07-04 11:03:07 -0400
committerMonty Taylor <mordred@inaugust.com>2015-07-09 09:11:36 -0400
commit6523cf62fa369fe1909a951ac7bce465aa222c06 (patch)
treec01c9369b4669e1a39f432055b21ae6fb7d0a7a6 /README.rst
parent1065ea4dbf91a1416e267223d0db96719490653b (diff)
downloados-client-config-6523cf62fa369fe1909a951ac7bce465aa222c06.tar.gz
Specify the config file with environment variable
The fine folks at ansible want to be able to specify a specific location for the config file with an env var which seems like a perfectly reasonable thing to allow. Inject the specified file at the beginning of the list so that it'll be the first one found. Change-Id: Ib1947be1c0ae812e9cb83c7b99168c05dfc6fa6a Co-authored-by: Chris Church <chris@ninemoreminutes.com>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 1992713..13e6f2a 100644
--- a/README.rst
+++ b/README.rst
@@ -43,6 +43,10 @@ locations:
The first file found wins.
+You can also set the environment variable `OS_CLIENT_CONFIG_FILE` to an
+absolute path of a file to look for and that location will be inserted at the
+front of the file search list.
+
The keys are all of the keys you'd expect from `OS_*` - except lower case
and without the OS prefix. So, region name is set with `region_name`.