]> git.openstreetmap.org Git - chef.git/commitdiff
Disable dhcp server for IPv6
authorTom Hughes <tom@compton.nu>
Mon, 15 Nov 2021 13:57:39 +0000 (13:57 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 15 Nov 2021 13:57:39 +0000 (13:57 +0000)
cookbooks/dhcpd/recipes/default.rb

index be4fba2abc8d6805daada8d74b2683471ec58e36..4304ce006a8ef792aa365dd76d3bdbc4eb0393dc 100644 (file)
@@ -60,3 +60,7 @@ service "isc-dhcp-server" do
   supports :status => true, :restart => true
   subscribes :restart, "template[/etc/dhcp/dhcpd.conf]"
 end
+
+service "isc-dhcp-server6" do
+  action [:disable, :stop]
+end