Showing onion address only when traefik torrified

This commit is contained in:
kexkey
2020-01-28 12:30:08 -05:00
parent 9e83dc4d66
commit d205742b50

View File

@@ -446,6 +446,7 @@ result="{${result}]}"
echo "${result}" > /gatekeeper/installation.json
echo "EXIT_STATUS=${finalreturncode}" > /dist/exitStatus.sh
<% if (features.indexOf('tor') != -1) { %>
<% if (features.indexOf('tor') !== -1 && torifyables && torifyables.indexOf('tor_traefik') !== -1) { %>
echo "TOR_TRAEFIK_HOSTNAME=$(cat /dist/.cyphernodeconf/tor/traefik/hidden_service/hostname)" >> /dist/exitStatus.sh
<% } %>