RHEL-85/90: modify the x86_64 EC2 images dracut configuration
Change the x86_64-specific dracut configuration of RHEL-8.5 and RHEL-9.0 EC2 and AMI images to not include `xen-netfront` driver and add `nvme` driver, which was previously not included. Since the configuration is no longer Xen-specific, rename the configuration file to `ec2.conf`. Justification: There is no reason to put `xen-netfront` to initramfs as EC2 images don't boot from network root. In addition, add `nvme` driver to handle the case when initramfs is getting forcefully rebuild on a Xen instance (and not able to boot on Nitro after that). Related to https://issues.redhat.com/browse/COMPOSER-1096. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
20258bd45e
commit
a8d503e5b9
6 changed files with 16 additions and 12 deletions
|
|
@ -1073,10 +1073,10 @@
|
|||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
"filename": "xen.conf",
|
||||
"filename": "ec2.conf",
|
||||
"config": {
|
||||
"add_drivers": [
|
||||
"xen-netfront",
|
||||
"nvme",
|
||||
"xen-blkfront"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1077,10 +1077,10 @@
|
|||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
"filename": "xen.conf",
|
||||
"filename": "ec2.conf",
|
||||
"config": {
|
||||
"add_drivers": [
|
||||
"xen-netfront",
|
||||
"nvme",
|
||||
"xen-blkfront"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1251,10 +1251,10 @@
|
|||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
"filename": "xen.conf",
|
||||
"filename": "ec2.conf",
|
||||
"config": {
|
||||
"add_drivers": [
|
||||
"xen-netfront",
|
||||
"nvme",
|
||||
"xen-blkfront"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -973,10 +973,10 @@
|
|||
{
|
||||
"type": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
"filename": "xen.conf",
|
||||
"filename": "ec2.conf",
|
||||
"config": {
|
||||
"add_drivers": [
|
||||
"xen-netfront",
|
||||
"nvme",
|
||||
"xen-blkfront"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue