Rename .Https template variable to .TLS

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2026-02-17 21:38:51 -07:00
parent 01eef7d88d
commit ced93bcc5a
3 changed files with 8 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ type templateVars struct {
KernelArgs string
KernelVersion string
Root string
Https bool
TLS bool
Tags map[string]string
NetDevs map[string]*node.NetDev
}
@@ -142,7 +142,7 @@ func ProvisionSend(w http.ResponseWriter, req *http.Request) {
Ipaddr: conf.Ipaddr,
Ipaddr6: ipaddr6,
Port: strconv.Itoa(conf.Warewulf.Port),
Https: conf.Warewulf.EnableTLS(),
TLS: conf.Warewulf.EnableTLS(),
Authority: authority,
Hostname: remoteNode.Id(),
Hwaddr: rinfo.hwaddr,
@@ -249,7 +249,7 @@ func ProvisionSend(w http.ResponseWriter, req *http.Request) {
Ipaddr: conf.Ipaddr,
Ipaddr6: ipaddr6,
Port: strconv.Itoa(conf.Warewulf.Port),
Https: conf.Warewulf.EnableTLS(),
TLS: conf.Warewulf.EnableTLS(),
Authority: authority,
Hostname: remoteNode.Id(),
Hwaddr: rinfo.hwaddr,