From 00b2529d6322a7ff5d1c5d8707d400bf019b23b4 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Wed, 11 Jan 2017 00:19:18 +0200 Subject: 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 --- ci/scripts/freeipa_setup.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ci') 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 -- cgit 1.2.3-korg