]> git.openstreetmap.org Git - chef.git/commitdiff
Mark dhcp servers as authoritative
authorTom Hughes <tom@compton.nu>
Mon, 8 Apr 2019 11:10:58 +0000 (12:10 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 8 Apr 2019 11:10:58 +0000 (12:10 +0100)
cookbooks/dhcpd/templates/default/dhcpd.conf.erb

index def1960bc5461eed8869d1f4fe4306d7ce9103d9..e826c7efc0cb4c569091d9ba26ed8244efcec258 100644 (file)
@@ -5,6 +5,7 @@ max-lease-time 7200;
 <% node.interfaces(:role => :internal).each do |interface| -%>
 
 subnet <%= interface[:network] %> netmask <%= interface[:netmask] %> {
+  authoritative;
   range dynamic-bootp <%= node[:dhcpd][:first_address] %> <%= node[:dhcpd][:last_address] %>;
 #  option broadcast-address <%= interface[:broadcast] %>;
   option routers <%= interface[:gateway] %>;