X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/10e1976e6e9fd98e058831e93fbec2eafd9c8167..463d6a9d03c74d1b01cfd920ed8d36277ff1ea86:/cookbooks/hardware/attributes/default.rb diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index 174190f3f..f80e6a528 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -1,4 +1,5 @@ default[:hardware][:modules] = %w(loop lp rtc) +default[:hardware][:grub][:cmdline] = %w(nomodeset) default[:hardware][:sensors] = {} if node[:dmi] && node[:dmi][:system] @@ -22,7 +23,7 @@ if Chef::Util.compare_versions(node[:kernel][:release], [3, 3]) < 0 end if node[:kernel] && node[:kernel][:modules] - raidmods = node[:kernel][:modules].keys & %w(cciss hpsa mptsas mpt2sas megaraid_mm megaraid_sas aacraid) + raidmods = node[:kernel][:modules].keys & %w(cciss hpsa mptsas mpt2sas mpt3sas megaraid_mm megaraid_sas aacraid) unless raidmods.empty? default[:apt][:sources] |= ["hwraid"]