Merge pull request #60 from yqin/topic/dhcpd_template_fix

Great catch Yong!
This commit is contained in:
Gregory M. Kurtzer
2021-04-20 20:36:15 -07:00
committed by GitHub

View File

@@ -39,8 +39,8 @@ subnet {{$.Network}} netmask {{$.Netmask}} {
}
{{range $nodes := .Nodes}}
host {{.Fqdn}} {
hardware ethernet {{$nodes.NetDevs.eth0.Hwaddr}}
filed-address {{$nodes.NetDevs.eth0.Ipaddr}}
host {{$nodes.Id.Get}} {
hardware ethernet {{$nodes.NetDevs.eth0.Hwaddr.Get}};
fixed-address {{$nodes.NetDevs.eth0.Ipaddr.Get}};
}
{{end}}