Add one-click installation script for Headscale clients

- Complete automated script for Tailscale + Headscale registration
- Support for Ubuntu, Debian, CentOS, RHEL, Rocky, Fedora, Arch
- Universal binary fallback for unsupported distros
- Automatic firewall configuration
- Network connectivity verification
- Fix Headscale health check (nc -> headscale version)
- Add comprehensive error handling and colored output

🚀 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-11 00:30:47 +09:00
parent 53c1f45e02
commit 8bd6b1f400
3 changed files with 904 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ services:
networks:
- headscale-net
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 8080 || exit 1"]
test: ["CMD", "/ko-app/headscale", "version"]
interval: 30s
timeout: 10s
retries: 3