dn42-scripts/templates/dhcp.conf.erb
2015-01-13 08:19:32 +01:00

13 lines
242 B
Plaintext

<% leases.each do |lease| -%>
host <%= lease.name %> {
hardware ethernet <%= lease.mac %>;
<% if lease.ipv4 -%>
fixed-address <%= lease.ipv4 %>;
<% end -%>
<% if lease.ipv6 -%>
fixed-address6 <%= lease.ipv6 %>;
<% end -%>
}
<% end -%>