bootstrap.sh: LAN probe uses GET not HEAD (issuance only handles GET)
This commit is contained in:
@@ -150,7 +150,7 @@ if command -v netbird >/dev/null && netbird status 2>/dev/null | grep -q "Manage
|
|||||||
MESH_CONNECTED="netbird"
|
MESH_CONNECTED="netbird"
|
||||||
elif command -v tailscale >/dev/null && tailscale status >/dev/null 2>&1; then
|
elif command -v tailscale >/dev/null && tailscale status >/dev/null 2>&1; then
|
||||||
MESH_CONNECTED="tailscale"
|
MESH_CONNECTED="tailscale"
|
||||||
elif curl -sfI -o /dev/null --max-time 3 "${ISSUANCE_URL_NETBIRD%/issue}/health" 2>/dev/null; then
|
elif curl -sf -o /dev/null --max-time 3 "${ISSUANCE_URL_NETBIRD%/issue}/health" 2>/dev/null; then
|
||||||
MESH_CONNECTED="lan"
|
MESH_CONNECTED="lan"
|
||||||
fi
|
fi
|
||||||
if [ -z "$MESH_CONNECTED" ] && [ "$NO_SECRETS" -eq 0 ]; then
|
if [ -z "$MESH_CONNECTED" ] && [ "$NO_SECRETS" -eq 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user