Update the node join instruction to reference "username"

related to https://github.com/juanfont/headscale/pull/1144

Signed-off-by: Christian Heusel <christian@heusel.eu>
This commit is contained in:
Christian Heusel 2023-01-20 01:37:37 +01:00 committed by Juan Font
parent c720af66d6
commit 0ffff2c994

2
api.go
View File

@ -78,7 +78,7 @@ var registerWebAPITemplate = template.Must(
<p> <p>
Run the command below in the headscale server to add this machine to your network: Run the command below in the headscale server to add this machine to your network:
</p> </p>
<pre><code>headscale -n NAMESPACE nodes register --key {{.Key}}</code></pre> <pre><code>headscale nodes register --user USERNAME --key {{.Key}}</code></pre>
</body> </body>
</html> </html>
`)) `))