diff --git a/internal/distro/rhel90/distro.go b/internal/distro/rhel90/distro.go index aff6f89cd..2a89db47b 100644 --- a/internal/distro/rhel90/distro.go +++ b/internal/distro/rhel90/distro.go @@ -948,6 +948,18 @@ func newDistro(distroName string) distro.Distro { osbuild.NewModprobeConfigCmdBlacklist("floppy"), }, }, + { + Filename: "blacklist-skylake-edac.conf", + Commands: osbuild.ModprobeConfigCmdList{ + osbuild.NewModprobeConfigCmdBlacklist("skx_edac"), + }, + }, + { + Filename: "blacklist-intel-cstate.conf", + Commands: osbuild.ModprobeConfigCmdList{ + osbuild.NewModprobeConfigCmdBlacklist("intel_cstate"), + }, + }, }, CloudInit: []*osbuild.CloudInitStageOptions{ { diff --git a/test/data/manifests/rhel_90-x86_64-azure_rhui-boot.json b/test/data/manifests/rhel_90-x86_64-azure_rhui-boot.json index 449569191..c08fc872c 100644 --- a/test/data/manifests/rhel_90-x86_64-azure_rhui-boot.json +++ b/test/data/manifests/rhel_90-x86_64-azure_rhui-boot.json @@ -2726,6 +2726,30 @@ ] } }, + { + "type": "org.osbuild.modprobe", + "options": { + "filename": "blacklist-skylake-edac.conf", + "commands": [ + { + "command": "blacklist", + "modulename": "skx_edac" + } + ] + } + }, + { + "type": "org.osbuild.modprobe", + "options": { + "filename": "blacklist-intel-cstate.conf", + "commands": [ + { + "command": "blacklist", + "modulename": "intel_cstate" + } + ] + } + }, { "type": "org.osbuild.sshd.config", "options": { diff --git a/test/data/manifests/rhel_91-x86_64-azure_rhui-boot.json b/test/data/manifests/rhel_91-x86_64-azure_rhui-boot.json index b459e23f8..4860374cf 100644 --- a/test/data/manifests/rhel_91-x86_64-azure_rhui-boot.json +++ b/test/data/manifests/rhel_91-x86_64-azure_rhui-boot.json @@ -6912,6 +6912,30 @@ ] } }, + { + "type": "org.osbuild.modprobe", + "options": { + "filename": "blacklist-skylake-edac.conf", + "commands": [ + { + "command": "blacklist", + "modulename": "skx_edac" + } + ] + } + }, + { + "type": "org.osbuild.modprobe", + "options": { + "filename": "blacklist-intel-cstate.conf", + "commands": [ + { + "command": "blacklist", + "modulename": "intel_cstate" + } + ] + } + }, { "type": "org.osbuild.sshd.config", "options": {