Update docs for auth-id changes
- Replace "headscale nodes register" with "headscale auth register" - Update from registration key to Auth ID - Fix API example to register a node
This commit is contained in:
parent
acddd73183
commit
9baa795ddb
9 changed files with 22 additions and 21 deletions
|
|
@ -31,7 +31,7 @@ var debugCmd = &cobra.Command{
|
|||
|
||||
var createNodeCmd = &cobra.Command{
|
||||
Use: "create-node",
|
||||
Short: "Create a node that can be registered with `nodes register <>` command",
|
||||
Short: "Create a node that can be registered with `auth register <>` command",
|
||||
RunE: grpcRunE(func(ctx context.Context, client v1.HeadscaleServiceClient, cmd *cobra.Command, args []string) error {
|
||||
user, _ := cmd.Flags().GetString("user")
|
||||
name, _ := cmd.Flags().GetString("name")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue