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