Spaces:
Runtime error
Runtime error
Revert hostname change
Browse files- startup.sh +2 -2
startup.sh
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
echo "Start tailscale"
|
5 |
mkdir -p /tmp/tailscale
|
6 |
/bin/tailscaled --tun=userspace-networking --outbound-http-proxy-listen=localhost:1055 --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock &
|
7 |
-
|
8 |
-
/bin/tailscale up --authkey ${TS_AUTHKEY} --hostname
|
9 |
echo "Tailscale started"
|
10 |
echo
|
11 |
|
|
|
4 |
echo "Start tailscale"
|
5 |
mkdir -p /tmp/tailscale
|
6 |
/bin/tailscaled --tun=userspace-networking --outbound-http-proxy-listen=localhost:1055 --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock &
|
7 |
+
HOSTNAME=${SPACE_HOST#"https://"}
|
8 |
+
/bin/tailscale up --authkey ${TS_AUTHKEY} --hostname=${HOSTNAME} --accept-routes --accept-dns
|
9 |
echo "Tailscale started"
|
10 |
echo
|
11 |
|