From: Tom Hughes Date: Mon, 8 Apr 2019 11:10:58 +0000 (+0100) Subject: Mark dhcp servers as authoritative X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/3cf4fee5258cf3bb02e4d9f59e32380d8bcc5e5e Mark dhcp servers as authoritative --- diff --git a/cookbooks/dhcpd/templates/default/dhcpd.conf.erb b/cookbooks/dhcpd/templates/default/dhcpd.conf.erb index def1960bc..e826c7efc 100644 --- a/cookbooks/dhcpd/templates/default/dhcpd.conf.erb +++ b/cookbooks/dhcpd/templates/default/dhcpd.conf.erb @@ -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] %>;