bootstrap.sh: LAN probe uses GET not HEAD (issuance only handles GET)

This commit is contained in:
root
2026-05-20 18:39:11 +02:00
parent ab6b8fabc4
commit af8961d194

View File

@@ -150,7 +150,7 @@ if command -v netbird >/dev/null && netbird status 2>/dev/null | grep -q "Manage
MESH_CONNECTED="netbird"
elif command -v tailscale >/dev/null && tailscale status >/dev/null 2>&1; then
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"
fi
if [ -z "$MESH_CONNECTED" ] && [ "$NO_SECRETS" -eq 0 ]; then