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
This commit is contained in:
parent
a70e6a15c4
commit
00b2529d63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user