From ba5887555d5e93095396c131ff809cee12aa20e8 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Sun, 13 Dec 2020 23:38:22 -0800 Subject: [PATCH] Minor bugfix on default template. --- internal/app/wwctl/overlay/edit/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/wwctl/overlay/edit/main.go b/internal/app/wwctl/overlay/edit/main.go index 7f308a83..1ede83ae 100644 --- a/internal/app/wwctl/overlay/edit/main.go +++ b/internal/app/wwctl/overlay/edit/main.go @@ -60,7 +60,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error { fmt.Fprintf(w, "# when the overlay is rendered for the individual nodes. Here are some examples\n") fmt.Fprintf(w, "# of macros and logic which can be used within this file:\n") fmt.Fprintf(w, "#\n") - fmt.Fprintf(w, "# Node FQDN = {{.Fqdn}}\n") + fmt.Fprintf(w, "# Node FQDN = {{.Id}}\n") fmt.Fprintf(w, "# Node Group = {{.GroupName}}\n") fmt.Fprintf(w, "# Network Config = {{.NetDevs.eth0.Ipaddr}}, {{.NetDevs.eth0.Hwaddr}}, etc.\n") fmt.Fprintf(w, "#\n")