From 7e4e2a3f71f5facfd15610225249feaf69071c36 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Thu, 31 Aug 2023 17:44:46 -0600 Subject: [PATCH] Fix and update initial overlay template Signed-off-by: Jonathon Anderson --- internal/app/wwctl/overlay/edit/main.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/internal/app/wwctl/overlay/edit/main.go b/internal/app/wwctl/overlay/edit/main.go index 3b6bda6c..6d5097c2 100644 --- a/internal/app/wwctl/overlay/edit/main.go +++ b/internal/app/wwctl/overlay/edit/main.go @@ -20,12 +20,15 @@ const initialTemplate = `# This is a Warewulf Template file. # when the overlay is rendered for the individual nodes. Here are some examples # of macros and logic which can be used within this file: # -# Node FQDN = {{.Id}}\n") -# Node Cluster = {{.ClusterName}}\n") +# Node FQDN = {{.Id}} +# Node Cluster = {{.ClusterName}} # Network Config = {{.NetDevs.eth0.Ipaddr}}, {{.NetDevs.eth0.Hwaddr}}, etc. # -# Goto the documentation pages for more information: http://www.hpcng.org/... -# Keep the following for better reference +# Go to the documentation pages for more information: +# https://warewulf.org/docs/development/contents/overlays.html +# +# Keep the following for better reference: +# --- # This file is autogenerated by warewulf # Host: {{.BuildHost}} # Time: {{.BuildTime}}