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:
parent
a930073e4a
commit
61478254cd
21 changed files with 247 additions and 0 deletions
|
|
@ -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{
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5048,6 +5048,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -4888,6 +4888,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -2079,6 +2079,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -2098,6 +2098,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -2025,6 +2025,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -2046,6 +2046,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -2618,6 +2618,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -3484,6 +3484,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5218,6 +5218,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5267,6 +5267,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5050,6 +5050,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5101,6 +5101,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -6545,6 +6545,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -9135,6 +9135,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5218,6 +5218,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5267,6 +5267,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5050,6 +5050,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -5101,6 +5101,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -6545,6 +6545,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -9135,6 +9135,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.modprobe",
|
||||
"options": {
|
||||
"filename": "blacklist-amdgpu.conf",
|
||||
"commands": [
|
||||
{
|
||||
"command": "blacklist",
|
||||
"modulename": "amdgpu"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue