Added --accept-routes for tailscale

This commit is contained in:
Sai Santosh 2024-02-22 10:00:10 -05:00 committed by GitHub
parent 1d3e022378
commit b4cc3046a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ function process_tailscale(){
tailscaled &
sleep 2
set +e
tailscale up --authkey=${tailscale_key}
tailscale up --authkey=${tailscale_key} --accept-routes
if [ $? -ne 0 ]; then
msg="Failed to establish tailscale connection. Please review the log at ${LOGFILE}"
echo msg