From: Grant Slater Date: Sun, 4 Dec 2022 23:06:22 +0000 (+0000) Subject: Do not install recommends for wireguard-tools X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/e1ad00080678ac821ed3871686413080cb0ca27d Do not install recommends for wireguard-tools wireguard-tools recommends causes a dependency cascade installing wireguard-dkms which requires a compile and kernel headers. All our systems are running sufficient kernel versions not to require wireguard-dkms. Disable recommends to speed up install for tests. --- diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 5cdaf91f6..9bf834522 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -196,6 +196,7 @@ if node[:networking][:wireguard][:enabled] package "wireguard-tools" do compile_time true + options "--no-install-recommends" end directory "/var/lib/systemd/wireguard" do