diff options
author | Christian Heimes <cheimes@redhat.com> | 2016-10-24 10:35:41 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-12-02 15:05:33 +0100 |
commit | d4916254e995be1118ab8dbce5b60091305f97fe (patch) | |
tree | ff6daf4da6512d84c135822ec512aedc5021023f /client | |
parent | 64a4be26febf19e427760115912a858a804208a0 (diff) | |
download | freeipa-d4916254e995be1118ab8dbce5b60091305f97fe.tar.gz freeipa-d4916254e995be1118ab8dbce5b60091305f97fe.tar.xz freeipa-d4916254e995be1118ab8dbce5b60091305f97fe.zip |
Use env var IPA_CONFDIR to get confdir
The environment variable IPA_CONFDIR overrides the default confdir path.
The value of the environment variable must be an absolute path to an existing
directory. The new variable makes it much simpler to use the 'ipa'
command and ipalib with a local configuration directory.
Some scripts (e.g. servers, installers, and upgrades) set the confdir
explicitly and do not support the env var.
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'client')
-rw-r--r-- | client/man/ipa.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/man/ipa.1 b/client/man/ipa.1 index 9194ca071..b843e7ba7 100644 --- a/client/man/ipa.1 +++ b/client/man/ipa.1 @@ -186,6 +186,10 @@ The ipa client will determine which server to connect to in this order: .TP If a kerberos error is raised by any of the requests then it will stop processing and display the error message. +.SH "ENVIRONMENT VARIABLES" +.TP +\fBIPA_CONFDIR\fR +Override path to confdir (default: \fB/etc/ipa\fR). .SH "FILES" .TP \fB/etc/ipa/default.conf\fR |