diff --git a/cmd/headscale/cli/nodes.go b/cmd/headscale/cli/nodes.go index b8a7dbb5..679517a8 100644 --- a/cmd/headscale/cli/nodes.go +++ b/cmd/headscale/cli/nodes.go @@ -134,7 +134,7 @@ var registerNodeCmd = &cobra.Command{ return } - SuccessOutput(response.Machine, "Machine registered", output) + SuccessOutput(response.Machine, fmt.Sprintf("Machine %s registered", response.Machine.GivenName), output) }, }