Merge pull request #60 from yqin/topic/dhcpd_template_fix
Great catch Yong!
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user