Update file run_onchange_after_59-connect-tailscale.tmpl
This commit is contained in:
parent
66d52c3640
commit
4df6a82d3d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
### Connect to Tailscale network
|
### Connect to Tailscale network
|
||||||
if command -v tailscale > /dev/null && [ {{ .user.TAILSCALE_AUTH_KEY }} != "" ]; then
|
if command -v tailscale > /dev/null && [ "{{ .user.TAILSCALE_AUTH_KEY }}" != "" ]; then
|
||||||
logg info 'Connecting to Tailscale with user-defined authentication key'
|
logg info 'Connecting to Tailscale with user-defined authentication key'
|
||||||
tailscale up --authkey={{ .user.TAILSCALE_AUTH_KEY }} && logg success 'Connected to Tailscale network'
|
tailscale up --authkey={{ .user.TAILSCALE_AUTH_KEY }} && logg success 'Connected to Tailscale network'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue