From d205742b50a7ba7227dc80753e22cd2f2e6d9d3e Mon Sep 17 00:00:00 2001 From: kexkey Date: Tue, 28 Jan 2020 12:30:08 -0500 Subject: [PATCH] Showing onion address only when traefik torrified --- cyphernodeconf_docker/templates/installer/testfeatures.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cyphernodeconf_docker/templates/installer/testfeatures.sh b/cyphernodeconf_docker/templates/installer/testfeatures.sh index 57a6575..9d6565e 100644 --- a/cyphernodeconf_docker/templates/installer/testfeatures.sh +++ b/cyphernodeconf_docker/templates/installer/testfeatures.sh @@ -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 <% } %>