From 8adfdfe8bc102deb6704a0ba0943b80e98afec99 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 15 Nov 2021 13:57:39 +0000 Subject: [PATCH] Disable dhcp server for IPv6 --- cookbooks/dhcpd/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/dhcpd/recipes/default.rb b/cookbooks/dhcpd/recipes/default.rb index be4fba2ab..4304ce006 100644 --- a/cookbooks/dhcpd/recipes/default.rb +++ b/cookbooks/dhcpd/recipes/default.rb @@ -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 -- 2.39.5