1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update announcer.j2

This commit is contained in:
A Holt 2018-08-15 23:36:03 -04:00 committed by GitHub
parent 2c268a8615
commit ed244b45c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,12 @@ if [ -f /etc/iiab/openvpn_handle ]; then
# Option #1
HANDLE=`cat /etc/iiab/openvpn_handle`
# Option #2: UUID is later used, if openvpn_handle is not set
# Sourcing a variable from ~4 different places is a recipe for total confusion (or worse!)
# Sourcing a variable from ~4 different places is a recipe for total confusion
# (or worse!) Far better to make variable openvpn_handle and file
# /etc/iiab/openvpn_handle "mandatory" (EMPTY STRING "" IS TOLERATED, in which
# case OpenVPN server should use /etc/iiab/uuid in lieu of the handle).
#else
# # Option #3: Dangerous to invoke hypothetical variables :(
# source /etc/iiab/iiab.env