File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
33source /usr/local/etc/library.sh
4-
4+ set -x
55# wait until user decrypts the instance first
66while : ; do
77 needs_decrypt || break
@@ -31,6 +31,8 @@ while :; do
3131 sleep 3
3232 continue
3333 }
34+ # TODO: REmove debug output
35+ echo " found domain: $nc_domain "
3436 # Fix the situation where junk was introduced in the config by mistake
3537 # because Redis was not yet ready to be used even if it was up
3638 [[ " ${nc_domain} " =~ " RedisException" ]] && nc_domain=" $( hostname) "
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ function set-nc-domain()
146146 fi
147147 if [[ " ${domain} " == " " ]] || is_an_ip " ${domain} " ; then
148148 echo " warning: No domain found. Defaulting to '$( hostname) '"
149+ echo " cli.overwrite.url was: $( ncc config:system:get overwrite.cli.url) "
149150 domain=" $( hostname) "
150151 fi
151152 local proto
You can’t perform that action at this time.
0 commit comments