distro/RHEL-8: disable amdgpu module on all AWS images

`amdgpu` module is causing error to be printed in the system log on AWS
instances. After investigation, it turns out that it is not needed.
Disable it by default on all AWS images.

Related to COMPOSER-1807

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2022-11-14 14:48:33 +01:00 committed by Tomáš Hozza
parent 050403fbe4
commit a930073e4a
38 changed files with 451 additions and 0 deletions

View file

@ -1109,6 +1109,13 @@ func newDistro(distroName string) distro.Distro {
osbuild.NewModprobeConfigCmdBlacklist("nouveau"),
},
},
// COMPOSER-1807
{
Filename: "blacklist-amdgpu.conf",
Commands: osbuild.ModprobeConfigCmdList{
osbuild.NewModprobeConfigCmdBlacklist("amdgpu"),
},
},
},
DracutConf: []*osbuild.DracutConfStageOptions{
{

View file

@ -5344,6 +5344,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -5150,6 +5150,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2197,6 +2197,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2213,6 +2213,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2132,6 +2132,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2150,6 +2150,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2683,6 +2683,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -3421,6 +3421,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2230,6 +2230,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2246,6 +2246,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2162,6 +2162,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2180,6 +2180,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2716,6 +2716,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -3367,6 +3367,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2194,6 +2194,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2210,6 +2210,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2123,6 +2123,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2140,6 +2140,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2672,6 +2672,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2197,6 +2197,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2213,6 +2213,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2132,6 +2132,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2150,6 +2150,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2683,6 +2683,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -3421,6 +3421,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2194,6 +2194,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2200,6 +2200,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2132,6 +2132,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2140,6 +2140,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2673,6 +2673,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -3381,6 +3381,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2194,6 +2194,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2200,6 +2200,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2132,6 +2132,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2140,6 +2140,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -2673,6 +2673,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {

View file

@ -3381,6 +3381,18 @@
]
}
},
{
"type": "org.osbuild.modprobe",
"options": {
"filename": "blacklist-amdgpu.conf",
"commands": [
{
"command": "blacklist",
"modulename": "amdgpu"
}
]
}
},
{
"type": "org.osbuild.dracut.conf",
"options": {