summarylogtreecommitdiffstats
path: root/skywire-autoconfig
diff options
context:
space:
mode:
authorMoses Narrow2022-08-31 20:30:28 -0500
committerMoses Narrow2022-08-31 20:30:28 -0500
commit50b174c86a3d3a74d505ef461c2b0e02fbe7d9c9 (patch)
treeb04465583131ddfff03d65a61c85f8b6b3014777 /skywire-autoconfig
parent6fe53f704dfb4daf86ff436f2ebed19f63532cef (diff)
downloadaur-50b174c86a3d3a74d505ef461c2b0e02fbe7d9c9.tar.gz
update to version 1.1.0 ; minor fix to skywire-autoconfig & the vpn launcher .desktop file.
Diffstat (limited to 'skywire-autoconfig')
-rw-r--r--skywire-autoconfig18
1 files changed, 10 insertions, 8 deletions
diff --git a/skywire-autoconfig b/skywire-autoconfig
index 423de04848ce..f62ee4fc079d 100644
--- a/skywire-autoconfig
+++ b/skywire-autoconfig
@@ -197,16 +197,18 @@ _msg2 "Visor Public Key:
${_green}${_pubkey}${_nc}"
if [[ $_is_hypervisor == "-i" ]]; then
if [[ $(ps -o comm= -p $PPID) != "sshd" ]]; then
- _msg2 "Starting now on:
-${_red}http://127.0.0.1:8000${_nc}"
+ _msg2 "Starting now on:\n${_red}http://127.0.0.1:8000${_nc}"
_vpnurl=$(skywire-cli vpn url -p)
- _msg2 "Use the vpn:
-${_red}${_vpnurl}${_nc}"
-# ${_red}http://127.0.0.1:8000/#/vpn/${_pubkey}/${_nc}"
+ _msg2 "Use the vpn:\n${_red}${_vpnurl}${_nc}"
fi
- _lanip="$(ip addr show | grep -w inet | grep -v 127.0.0.1 | awk '{ print $2}' | cut -d "/" -f 1)"
- _msg2 "Access hypervisor UI from local network here:
-${_yellow}http://${_lanip}:8000${_nc}"
+ _hpvurl="Access hypervisor UI from local network here:"
+ _lanips="$(ip addr show | grep -w inet | grep -v 127.0.0.1 | awk '{ print $2}' | cut -d "/" -f 1)"
+ for _lanip in $_lanips
+ do
+ _hpvurl+="\n${_yellow}http://${_lanip}:8000${_nc}"
+ done
+
+ _msg2 "$_hpvurl"
_welcome
_msg2 "run the following command on OTHER NODES to set this one as the hypervisor:"
echo -e "${_cyan}skywire-autoconfig ${_yellow}${_pubkey}${_nc}"