distro/rhel90: blacklist skx_edac,intel_cstate kernel modules on azure

Disabled by the MSFT images, we follow suit (really means we don't
exactly know why and should find out).
This commit is contained in:
Christian Kellner 2022-05-31 00:27:09 +02:00 committed by Tom Gundersen
parent 3b798edecb
commit 5c1530ee53
3 changed files with 60 additions and 0 deletions

View file

@ -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{
{

View file

@ -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": {

View file

@ -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": {