Had the wrong name for Cluster.

This commit is contained in:
griznog
2021-11-23 12:59:36 -06:00
parent bd5218a7c7
commit 7f56463c63

View File

@@ -132,7 +132,7 @@ func IpxeSend(w http.ResponseWriter, req *http.Request) {
var replace iPxeTemplate
replace.Id = nodeobj.Id.Get()
replace.Cluster = nodeobj.Cluster.Get()
replace.Cluster = nodeobj.ClusterName.Get()
replace.Fqdn = nodeobj.Id.Get()
replace.Ipaddr = conf.Ipaddr
replace.Port = strconv.Itoa(conf.Warewulf.Port)