add .gitignore, fix headscale CLI to use numeric user IDs
- Add .gitignore for nix build result symlinks - Fix all headscale CLI commands: --user now requires numeric ID, not username (changed in newer headscale versions) - Add 'headscale users list' step to docs where preauth keys are created
This commit is contained in:
parent
4c560abffd
commit
dbf98e2f22
6 changed files with 36 additions and 19 deletions
|
|
@ -14,7 +14,10 @@ Tailscale clients connect to the self-hosted Headscale server to join the mesh V
|
|||
On the Headscale server (cryodev-main):
|
||||
|
||||
```bash
|
||||
sudo headscale preauthkeys create --expiration 99y --reusable --user default
|
||||
# User-ID ermitteln
|
||||
sudo headscale users list
|
||||
# Preauth-Key erstellen (User-ID von "default" einsetzen)
|
||||
sudo headscale preauthkeys create --expiration 99y --reusable --user <ID>
|
||||
```
|
||||
|
||||
### Add to Secrets
|
||||
|
|
@ -111,7 +114,7 @@ Check the auth key is valid:
|
|||
|
||||
```bash
|
||||
# On Headscale server
|
||||
sudo headscale preauthkeys list --user default
|
||||
sudo headscale preauthkeys list --user <ID>
|
||||
```
|
||||
|
||||
Verify the login server URL is correct in the client configuration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue