From: Tom Hughes Date: Mon, 8 Nov 2021 00:39:44 +0000 (+0000) Subject: Fix loading of new kernel modules X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/bfed2ce1aa34276f71876ff265c1e0f5980331e4?hp=1528e2c8ce4d8471f8127d0f5d27a6c9dfd58261 Fix loading of new kernel modules --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 596d2701d..88bb45613 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -547,9 +547,9 @@ template "/etc/modules" do mode "644" end -service "kmod" do +service "systemd-modules-load" do action :nothing - subscribes :start, "template[/etc/modules]" + subscribes :restart, "template[/etc/modules]" end if node[:hardware][:watchdog]