From: Grant Slater Date: Mon, 22 Apr 2024 16:52:49 +0000 (+0100) Subject: devices: add initramfs-tools dependency X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/e59e9a39f85e733a2a9670ca7d51bbe96111d8d6 devices: add initramfs-tools dependency --- diff --git a/cookbooks/devices/recipes/default.rb b/cookbooks/devices/recipes/default.rb index d92bd0259..9bcaf898f 100644 --- a/cookbooks/devices/recipes/default.rb +++ b/cookbooks/devices/recipes/default.rb @@ -44,6 +44,8 @@ template "/etc/modprobe.d/nvme.conf" do only_if { ::File.exist?("/sys/module/nvme/parameters/poll_queues") } end +package "initramfs-tools" + execute "update-initramfs" do action :nothing command "/usr/sbin/update-initramfs -u"