distro/RHEL-9: 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 a930073e4a
commit 61478254cd
21 changed files with 247 additions and 0 deletions

View file

@ -1041,6 +1041,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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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