projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
28469fa
)
Mark dhcp servers as authoritative
author
Tom Hughes
<tom@compton.nu>
Mon, 8 Apr 2019 11:10:58 +0000
(12:10 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 8 Apr 2019 11:10:58 +0000
(12:10 +0100)
cookbooks/dhcpd/templates/default/dhcpd.conf.erb
patch
|
blob
|
history
diff --git
a/cookbooks/dhcpd/templates/default/dhcpd.conf.erb
b/cookbooks/dhcpd/templates/default/dhcpd.conf.erb
index def1960bc5461eed8869d1f4fe4306d7ce9103d9..e826c7efc0cb4c569091d9ba26ed8244efcec258 100644
(file)
--- 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] %>;