diff --git a/docs/ref/api.md b/docs/ref/api.md index a99e679c..f837eebe 100644 --- a/docs/ref/api.md +++ b/docs/ref/api.md @@ -54,7 +54,7 @@ Headscale server at `/swagger` for details. ```console curl -H "Authorization: Bearer " \ - -d user= -d key= \ + -d user= -d key= \ https://headscale.example.com/api/v1/node/register ``` diff --git a/docs/usage/getting-started.md b/docs/usage/getting-started.md index e468a7b7..290651a7 100644 --- a/docs/usage/getting-started.md +++ b/docs/usage/getting-started.md @@ -109,20 +109,20 @@ On a client machine, run the `tailscale up` command and provide the FQDN of your tailscale up --login-server ``` -Usually, a browser window with further instructions is opened and contains the value for ``. Approve -and register the node on your headscale server: +Usually, a browser window with further instructions is opened. This page explains how to complete the registration on +your headscale server and it also prints the registration key required to approve the node: === "Native" ```shell - headscale nodes register --user --key + headscale nodes register --user --key ``` === "Container" ```shell docker exec -it headscale \ - headscale nodes register --user --key + headscale nodes register --user --key ``` ### Using a preauthkey