]> git.llucax.com Git - software/pymin.git/blob - pymin/services/dhcp/templates/dhcpd.conf
Bugfix: use hasattr() right when looking for help.
[software/pymin.git] / pymin / services / dhcp / templates / dhcpd.conf
1
2 ddns-update-style none;
3
4 option domain-name "${domain_name}";
5 option domain-name-servers ${dns_1}, ${dns_2};
6
7 authoritative;
8
9 log-facility local7;
10
11 subnet ${net_address} netmask ${net_mask} {
12   range ${net_start} ${net_end};
13   option routers ${net_gateway};
14 }
15
16 % for host in hosts:
17 host ${host.name} {
18   fixed-address ${host.ip};
19   hardware ethernet ${host.mac};
20 }
21
22 % endfor