Fixed static-dhcpd.conf template.

This commit is contained in:
Yong Qin
2021-04-11 17:53:36 -07:00
parent 3c6837f922
commit 389118dfa2

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}}