Rename .Https template variable to .TLS
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user