X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/478443c5da25106a63145368c9992a6cb806650c..d6c3c3bc6b45204974784125bd0843a0b28ce9aa:/cookbooks/sysctl/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/sysctl/recipes/default.rb b/cookbooks/sysctl/recipes/default.rb index a2facc063..f16537c51 100644 --- a/cookbooks/sysctl/recipes/default.rb +++ b/cookbooks/sysctl/recipes/default.rb @@ -22,7 +22,9 @@ file "/etc/sysctl.d/60-chef.conf" do end if node[:virtualization][:role] != "guest" || - node[:virtualization][:system] != "lxd" + (node[:virtualization][:system] != "lxc" && + node[:virtualization][:system] != "lxd" && + node[:virtualization][:system] != "openvz") keys = [] Dir.new("/etc/sysctl.d").each_entry do |file|