diff --git a/api.go b/api.go index 4c3a6ca8..308bc281 100644 --- a/api.go +++ b/api.go @@ -78,7 +78,7 @@ var registerWebAPITemplate = template.Must(
Run the command below in the headscale server to add this machine to your network:
-headscale -n NAMESPACE nodes register --key {{.Key}}
+ headscale nodes register --user USERNAME --key {{.Key}}