diff --git a/etc/dhcp/static-dhcpd.conf b/etc/dhcp/static-dhcpd.conf index ac1a9fc2..94adc820 100644 --- a/etc/dhcp/static-dhcpd.conf +++ b/etc/dhcp/static-dhcpd.conf @@ -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}}