mirror of
https://github.com/juanfont/headscale.git
synced 2025-02-01 00:20:14 +01:00
Update command with new fields
This commit is contained in:
parent
06c928bc52
commit
79704dc9b0
@ -358,8 +358,8 @@ func nodesToPtables(
|
|||||||
tableData := pterm.TableData{
|
tableData := pterm.TableData{
|
||||||
{
|
{
|
||||||
"ID",
|
"ID",
|
||||||
"Name",
|
"Hostname",
|
||||||
"Nickname",
|
"Friendly name",
|
||||||
"NodeKey",
|
"NodeKey",
|
||||||
"Namespace",
|
"Namespace",
|
||||||
"IP addresses",
|
"IP addresses",
|
||||||
@ -424,7 +424,7 @@ func nodesToPtables(
|
|||||||
[]string{
|
[]string{
|
||||||
strconv.FormatUint(machine.Id, headscale.Base10),
|
strconv.FormatUint(machine.Id, headscale.Base10),
|
||||||
machine.Name,
|
machine.Name,
|
||||||
machine.Nickname,
|
machine.GivenName,
|
||||||
nodeKey.ShortString(),
|
nodeKey.ShortString(),
|
||||||
namespace,
|
namespace,
|
||||||
strings.Join(machine.IpAddresses, ", "),
|
strings.Join(machine.IpAddresses, ", "),
|
||||||
|
Loading…
Reference in New Issue
Block a user