aboutsummaryrefslogtreecommitdiffstats
path: root/ci/scripts
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-01-11 00:19:18 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-01-11 00:19:18 +0200
commit00b2529d6322a7ff5d1c5d8707d400bf019b23b4 (patch)
treec978b2b9275d915140856726481e0de87d34a079 /ci/scripts
parenta70e6a15c4b8eeec511ba3c836e9ba9c285fd431 (diff)
Allow freeipa environment file to be in /tmp
Relying on home can be tricky if run on CI, since we would need to hard-code the user. So for this case, we can use /tmp to source that environment file from. bp tls-via-certmonger Change-Id: Ie6234a15af7aa493257c13bd40cbf51ab36085be
Diffstat (limited to 'ci/scripts')
-rw-r--r--ci/scripts/freeipa_setup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/scripts/freeipa_setup.sh b/ci/scripts/freeipa_setup.sh
index f6a0f921..9f5f2dc6 100644
--- a/ci/scripts/freeipa_setup.sh
+++ b/ci/scripts/freeipa_setup.sh
@@ -13,6 +13,8 @@ set -eux
if [ -f "~/freeipa-setup.env" ]; then
source ~/freeipa-setup.env
+elif [ -f "/tmp/freeipa-setup.env" ]; then
+ source /tmp/freeipa-setup.env
fi
# Set DNS servers