Repository: osbuild/osbuild-composer
Pull request #2349 (2022-02-23 13:24:07)

templates/composer: Verify against mass sso and rh sso

packit-as-a-service[bot]: Based on your Packit configuration the settings of the packit/osbuild-osbuild-composer-2349 Copr project would need to be updated as follows:

| field | old value | new value |
| ----- | --------- | --------- |
| chroots | ['epel-8-aarch64', 'fedora-34-aarch64', 'fedora-rawhide-x86_64', 'fedora-36-x86_64', 'centos-stream-9-aarch64', 'centos-stream-9-x86_64', 'fedora-rawhide-s390x', 'fedora-35-ppc64le', 'fedora-36-aarch64', 'fedora-36-s390x', 'fedora-34-ppc64le', 'fedora-35-s390x', 'fedora-rawhide-aarch64', 'fedora-35-x86_64', 'fedora-rawhide-ppc64le', 'epel-8-x86_64', 'fedora-34-x86_64', 'centos-stream-8-x86_64', 'centos-stream-8-aarch64', 'fedora-34-s390x', 'fedora-35-aarch64', 'fedora-36-ppc64le'] | ['centos-stream-8-aarch64', 'centos-stream-8-x86_64', 'centos-stream-9-aarch64', 'centos-stream-9-x86_64', 'epel-8-aarch64', 'epel-8-x86_64', 'fedora-34-aarch64', 'fedora-34-ppc64le', 'fedora-34-s390x', 'fedora-34-x86_64', 'fedora-35-aarch64', 'fedora-35-ppc64le', 'fedora-35-s390x', 'fedora-35-x86_64', 'fedora-rawhide-aarch64', 'fedora-rawhide-ppc64le', 'fedora-rawhide-s390x', 'fedora-rawhide-x86_64'] |


Packit was unable to update the settings above as it is missing `admin` permissions on the packit/osbuild-osbuild-composer-2349 Copr project.

To fix this you can do one of the following:

- Grant Packit `admin` permissions on the packit/osbuild-osbuild-composer-2349 Copr project on the [permissions page](https://copr.fedorainfracloud.org/coprs/packit/osbuild-osbuild-composer-2349/permissions/).
- Change the above Copr project settings manually on the [settings page](https://copr.fedorainfracloud.org/coprs/packit/osbuild-osbuild-composer-2349/edit/) to match the Packit configuration.
- Update the Packit configuration to match the Copr project settings.

Please retrigger the build, once the issue above is fixed.


Patch:
diff --git a/cmd/osbuild-composer/composer.go b/cmd/osbuild-composer/composer.go
index 0aa17f7d6..21568c3a0 100644
--- a/cmd/osbuild-composer/composer.go
+++ b/cmd/osbuild-composer/composer.go
@@ -221,9 +221,6 @@ func (c *Composer) Start() error {
 			var err error
 			if c.config.Worker.EnableJWT {
 				keysURLs := c.config.Worker.JWTKeysURLs
-				if c.config.Worker.JWTKeysURL != "" {
-					keysURLs = append(keysURLs, c.config.Worker.JWTKeysURL)
-				}
 				handler, err = auth.BuildJWTAuthHandler(
 					keysURLs,
 					c.config.Worker.JWTKeysCA,
@@ -270,9 +267,6 @@ func (c *Composer) Start() error {
 			var err error
 			if c.config.Koji.EnableJWT {
 				keysURLs := c.config.Koji.JWTKeysURLs
-				if c.config.Koji.JWTKeysURL != "" {
-					keysURLs = append(keysURLs, c.config.Koji.JWTKeysURL)
-				}
 				handler, err = auth.BuildJWTAuthHandler(
 					keysURLs,
 					c.config.Koji.JWTKeysCA,
diff --git a/cmd/osbuild-composer/config.go b/cmd/osbuild-composer/config.go
index 4aa28a18c..08e208d82 100644
--- a/cmd/osbuild-composer/config.go
+++ b/cmd/osbuild-composer/config.go
@@ -24,7 +24,6 @@ type KojiAPIConfig struct {
 	EnableTLS      bool      `toml:"enable_tls"`
 	EnableMTLS     bool      `toml:"enable_mtls"`
 	EnableJWT      bool      `toml:"enable_jwt"`
-	JWTKeysURL     string    `toml:"jwt_keys_url"`
 	JWTKeysURLs    []string  `toml:"jwt_keys_urls"`
 	JWTKeysCA      string    `toml:"jwt_ca_file"`
 	JWTACLFile     string    `toml:"jwt_acl_file"`
@@ -51,7 +50,6 @@ type WorkerAPIConfig struct {
 	EnableTLS         bool     `toml:"enable_tls"`
 	EnableMTLS        bool     `toml:"enable_mtls"`
 	EnableJWT         bool     `toml:"enable_jwt"`
-	JWTKeysURL        string   `toml:"jwt_keys_url"`
 	JWTKeysURLs       []string `toml:"jwt_keys_urls"`
 	JWTKeysCA         string   `toml:"jwt_ca_file"`
 	JWTACLFile        string   `toml:"jwt_acl_file"`
diff --git a/internal/distro/rhel90/pipelines.go b/internal/distro/rhel90/pipelines.go
index 800d925c9..7829a5823 100644
--- a/internal/distro/rhel90/pipelines.go
+++ b/internal/distro/rhel90/pipelines.go
@@ -5,6 +5,7 @@ import (
 	"math/rand"
 	"path"
 	"path/filepath"
+	"strings"
 
 	"github.com/osbuild/osbuild-composer/internal/blueprint"
 	"github.com/osbuild/osbuild-composer/internal/common"
@@ -40,13 +41,13 @@ func qcow2Pipelines(t *imageType, customizations *blueprint.Customizations, opti
 	return pipelines, nil
 }
 
-func prependKernelCmdlineStage(pipeline *osbuild.Pipeline, t *imageType, pt *disk.PartitionTable) *osbuild.Pipeline {
+func prependKernelCmdlineStage(pipeline *osbuild.Pipeline, kernelOptions string, pt *disk.PartitionTable) *osbuild.Pipeline {
 	rootFs := pt.FindMountable("/")
 	if rootFs == nil {
 		panic("root filesystem must be defined for kernel-cmdline stage, this is a programming error")
 	}
 	rootFsUUID := rootFs.GetFSSpec().UUID
-	kernelStage := osbuild.NewKernelCmdlineStage(osbuild.NewKernelCmdlineStageOptions(rootFsUUID, t.kernelOptions))
+	kernelStage := osbuild.NewKernelCmdlineStage(osbuild.NewKernelCmdlineStageOptions(rootFsUUID, kernelOptions))
 	pipeline.Stages = append([]*osbuild.Stage{kernelStage}, pipeline.Stages...)
 	return pipeline
 }
@@ -301,7 +302,7 @@ func edgeImagePipelines(t *imageType, filename string, options distro.ImageOptio
 	}
 
 	// prepare ostree deployment tree
-	treePipeline := ostreeDeployPipeline(t, partitionTable, ostreeRepoPath, nil, "", rng, options)
+	treePipeline := ostreeDeployPipeline(t, partitionTable, ostreeRepoPath, rng, options)
 	pipelines = append(pipelines, *treePipeline)
 
 	// make raw image from tree
@@ -528,10 +529,17 @@ func osPipeline(t *imageType,
 	}
 
 	if pt != nil {
-		p = prependKernelCmdlineStage(p, t, pt)
+		kernelOptions := osbuild.GenImageKernelOptions(pt)
+		if t.kernelOptions != "" {
+			kernelOptions = append(kernelOptions, t.kernelOptions)
+		}
+		if bpKernel := c.GetKernel(); bpKernel.Append != "" {
+			kernelOptions = append(kernelOptions, bpKernel.Append)
+		}
+		p = prependKernelCmdlineStage(p, strings.Join(kernelOptions, " "), pt)
 		p.AddStage(osbuild.NewFSTabStage(osbuild.NewFSTabStageOptions(pt)))
 		kernelVer := rpmmd.GetVerStrFromPackageSpecListPanic(bpPackages, c.GetKernel().Name)
-		p.AddStage(bootloaderConfigStage(t, *pt, c.GetKernel(), kernelVer, false, false))
+		p.AddStage(bootloaderConfigStage(t, *pt, kernelVer, false, false))
 	}
 
 	p.AddStage(osbuild.NewSELinuxStage(selinuxStageOptions(false)))
@@ -797,8 +805,6 @@ func ostreeDeployPipeline(
 	t *imageType,
 	pt *disk.PartitionTable,
 	repoPath string,
-	kernel *blueprint.KernelCustomization,
-	kernelVer string,
 	rng *rand.Rand,
 	options distro.ImageOptions,
 ) *osbuild.Pipeline {
@@ -873,7 +879,7 @@ func ostreeDeployPipeline(
 
 	// TODO: Add users?
 
-	p.AddStage(bootloaderConfigStage(t, *pt, kernel, kernelVer, true, true))
+	p.AddStage(bootloaderConfigStage(t, *pt, "", true, true))
 
 	p.AddStage(osbuild.NewOSTreeSelinuxStage(
 		&osbuild.OSTreeSelinuxStageOptions{
@@ -1008,16 +1014,15 @@ func qemuPipeline(inputPipelineName, inputFilename, outputFilename, format, qcow
 	return p
 }
 
-func bootloaderConfigStage(t *imageType, partitionTable disk.PartitionTable, kernel *blueprint.KernelCustomization, kernelVer string, install, greenboot bool) *osbuild.Stage {
+func bootloaderConfigStage(t *imageType, partitionTable disk.PartitionTable, kernelVer string, install, greenboot bool) *osbuild.Stage {
 	if t.arch.name == distro.S390xArchName {
 		return osbuild.NewZiplStage(new(osbuild.ZiplStageOptions))
 	}
 
-	kernelOptions := t.kernelOptions
 	uefi := t.supportsUEFI()
 	legacy := t.arch.legacy
 
-	options := osbuild.NewGrub2StageOptions(&partitionTable, kernelOptions, kernel, kernelVer, uefi, legacy, t.arch.distro.vendor, install)
+	options := osbuild.NewGrub2StageOptionsUnified(&partitionTable, kernelVer, uefi, legacy, t.arch.distro.vendor, install)
 	options.Greenboot = greenboot
 
 	return osbuild.NewGRUB2Stage(options)
diff --git a/internal/osbuild2/grub2_stage.go b/internal/osbuild2/grub2_stage.go
index c59d28fc8..695a44b91 100644
--- a/internal/osbuild2/grub2_stage.go
+++ b/internal/osbuild2/grub2_stage.go
@@ -3,6 +3,7 @@ package osbuild2
 import (
 	"github.com/google/uuid"
 	"github.com/osbuild/osbuild-composer/internal/blueprint"
+	"github.com/osbuild/osbuild-composer/internal/common"
 	"github.com/osbuild/osbuild-composer/internal/disk"
 )
 
@@ -22,6 +23,7 @@ type GRUB2StageOptions struct {
 	UEFI               *GRUB2UEFI `json:"uefi,omitempty"`
 	SavedEntry         string     `json:"saved_entry,omitempty"`
 	Greenboot          bool       `json:"greenboot,omitempty"`
+	WriteCmdLine       *bool      `json:"write_cmdline,omitempty"`
 }
 
 type GRUB2UEFI struct {
@@ -74,10 +76,6 @@ func NewGrub2StageOptions(pt *disk.PartitionTable,
 		}
 	}
 
-	if !uefi {
-		stageOptions.Legacy = legacy
-	}
-
 	if kernel != nil {
 		if kernel.Append != "" {
 			stageOptions.KernelOptions += " " + kernel.Append
@@ -87,3 +85,42 @@ func NewGrub2StageOptions(pt *disk.PartitionTable,
 
 	return &stageOptions
 }
+
+func NewGrub2StageOptionsUnified(pt *disk.PartitionTable,
+	kernelVer string,
+	uefi bool,
+	legacy string,
+	vendor string,
+	install bool) *GRUB2StageOptions {
+
+	rootFs := pt.FindMountable("/")
+	if rootFs == nil {
+		panic("root filesystem must be defined for grub2 stage, this is a programming error")
+	}
+
+	stageOptions := GRUB2StageOptions{
+		RootFilesystemUUID: uuid.MustParse(rootFs.GetFSSpec().UUID),
+		Legacy:             legacy,
+		WriteCmdLine:       common.BoolToPtr(false),
+	}
+
+	bootFs := pt.FindMountable("/boot")
+	if bootFs != nil {
+		bootFsUUID := uuid.MustParse(bootFs.GetFSSpec().UUID)
+		stageOptions.BootFilesystemUUID = &bootFsUUID
+	}
+
+	if uefi {
+		stageOptions.UEFI = &GRUB2UEFI{
+			Vendor:  vendor,
+			Install: install,
+			Unified: true,
+		}
+	}
+
+	if kernelVer != "" {
+		stageOptions.SavedEntry = "ffffffffffffffffffffffffffffffff-" + kernelVer
+	}
+
+	return &stageOptions
+}
diff --git a/templates/composer.yml b/templates/composer.yml
index ae27b8502..4c1c0a25e 100644
--- a/templates/composer.yml
+++ b/templates/composer.yml
@@ -201,13 +201,15 @@ objects:
     acl.yml: |
       - claim: user_id
         pattern: ^(54629121|54629180|54597799|54676085)$
+      - claim: rh-org-id
+        pattern: ^(13826359)$
     osbuild-composer.toml: |
       log_level = "info"
       [koji]
       enable_tls = false
       enable_mtls = false
       enable_jwt = true
-      jwt_keys_url = "${SSO_BASE_URL}/protocol/openid-connect/certs"
+      jwt_keys_urls = ["${RH_SSO_BASE_URL}/protocol/openid-connect/certs", "${MAS_SSO_BASE_URL}/protocol/openid-connect/certs"]
       jwt_acl_file = "${COMPOSER_CONFIG_DIR}/acl.yml"
       [koji.aws_config]
       bucket = "imagebuilder.service.staging"
@@ -218,7 +220,7 @@ objects:
       enable_tls = false
       enable_mtls = false
       enable_jwt = true
-      jwt_keys_url = "${SSO_BASE_URL}/protocol/openid-connect/certs"
+      jwt_keys_urls = ["${RH_SSO_BASE_URL}/protocol/openid-connect/certs", "${MAS_SSO_BASE_URL}/protocol/openid-connect/certs"]
       jwt_acl_file = "${COMPOSER_CONFIG_DIR}/acl.yml"
 
 - apiVersion: batch/v1
@@ -328,9 +330,13 @@ parameters:
     name: PGMAXCONNS
     value: "20"
   - description: base sso url
-    name: SSO_BASE_URL
+    name: RH_SSO_BASE_URL
     required: true
     value: "https://sso.redhat.com/auth/realms/redhat-external"
+  - description: base sso url
+    name: MAS_SSO_BASE_URL
+    required: true
+    value: "https://identity.api.openshift.com/auth/realms/rhoas"
   - description: base sso url
     name: COMPOSER_CONFIG_DIR
     required: true


Test patch:
diff --git a/cmd/osbuild-composer/config_test.go b/cmd/osbuild-composer/config_test.go
index 3ccf57dc9..c32bd659d 100644
--- a/cmd/osbuild-composer/config_test.go
+++ b/cmd/osbuild-composer/config_test.go
@@ -86,7 +86,7 @@ func TestConfig(t *testing.T) {
 	require.Equal(t, "composer-db", config.Worker.PGDatabase)
 
 	require.False(t, config.Koji.EnableJWT)
-	require.Equal(t, "https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/certs", config.Koji.JWTKeysURL)
+	require.Equal(t, []string{"https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/certs"}, config.Koji.JWTKeysURLs)
 	require.Equal(t, "", config.Koji.JWTKeysCA)
 	require.Equal(t, "/var/lib/osbuild-composer/acl", config.Koji.JWTACLFile)
 }
diff --git a/cmd/osbuild-composer/testdata/test.toml b/cmd/osbuild-composer/testdata/test.toml
index 218d98671..d47cd026b 100644
--- a/cmd/osbuild-composer/testdata/test.toml
+++ b/cmd/osbuild-composer/testdata/test.toml
@@ -2,7 +2,7 @@
 allowed_domains = [ "osbuild.org" ]
 ca = "/etc/osbuild-composer/ca-crt.pem"
 enable_jwt = false
-jwt_keys_url = "https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/certs"
+jwt_keys_urls = ["https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/certs"]
 jwt_acl_file = "/var/lib/osbuild-composer/acl"
 
 [worker]
diff --git a/test/cases/api.sh b/test/cases/api.sh
index c4e9c2768..4ce5d5838 100755
--- a/test/cases/api.sh
+++ b/test/cases/api.sh
@@ -1262,7 +1262,7 @@ cat <<EOF | sudo tee "/etc/osbuild-composer/osbuild-composer.toml"
 enable_tls = false
 enable_mtls = false
 enable_jwt = true
-jwt_keys_url = "https://localhost:8080/certs"
+jwt_keys_urls = ["https://localhost:8080/certs"]
 jwt_ca_file = "/etc/osbuild-composer/ca-crt.pem"
 jwt_acl_file = ""
 [worker]
@@ -1276,7 +1276,7 @@ pg_ssl_mode = "disable"
 enable_tls = true
 enable_mtls = false
 enable_jwt = true
-jwt_keys_url = "https://localhost:8080/certs"
+jwt_keys_urls = ["https://localhost:8080/certs"]
 jwt_ca_file = "/etc/osbuild-composer/ca-crt.pem"
 EOF
 
diff --git a/test/data/manifests/centos_9-aarch64-ami-boot.json b/test/data/manifests/centos_9-aarch64-ami-boot.json
index 6e86b61e1..f638ffdd1 100644
--- a/test/data/manifests/centos_9-aarch64-ami-boot.json
+++ b/test/data/manifests/centos_9-aarch64-ami-boot.json
@@ -982,12 +982,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 iommu.strict=0",
               "uefi": {
                 "vendor": "centos",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -9475,7 +9475,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 iommu.strict=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/centos_9-aarch64-openstack-boot.json b/test/data/manifests/centos_9-aarch64-openstack-boot.json
index a7bb8ec7d..78142812d 100644
--- a/test/data/manifests/centos_9-aarch64-openstack-boot.json
+++ b/test/data/manifests/centos_9-aarch64-openstack-boot.json
@@ -889,12 +889,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro net.ifnames=0",
               "uefi": {
                 "vendor": "centos",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -9541,7 +9541,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/centos_9-aarch64-qcow2-boot.json b/test/data/manifests/centos_9-aarch64-qcow2-boot.json
index 942752246..3d5f5ba53 100644
--- a/test/data/manifests/centos_9-aarch64-qcow2-boot.json
+++ b/test/data/manifests/centos_9-aarch64-qcow2-boot.json
@@ -897,12 +897,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
               "uefi": {
                 "vendor": "centos",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -9608,7 +9608,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json b/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json
index 9b0724aa2..8b6ca24de 100644
--- a/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json
+++ b/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json
@@ -345,7 +345,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -1208,12 +1208,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
               "uefi": {
                 "vendor": "centos",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -11952,7 +11952,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
@@ -11963,7 +11962,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": "CentOS Stream (0-rescue-ffffffffffffffffffffffffffffffff) 9",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -11973,7 +11972,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-5.14.0-55.el9.aarch64.img $tuned_initrd",
         "linux": "/vmlinuz-5.14.0-55.el9.aarch64",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 $tuned_params",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug $tuned_params",
         "title": "CentOS Stream (5.14.0-55.el9.aarch64) 9",
         "version": "5.14.0-55.el9.aarch64"
       }
diff --git a/test/data/manifests/centos_9-ppc64le-qcow2-boot.json b/test/data/manifests/centos_9-ppc64le-qcow2-boot.json
index 90ce5ab37..984358002 100644
--- a/test/data/manifests/centos_9-ppc64le-qcow2-boot.json
+++ b/test/data/manifests/centos_9-ppc64le-qcow2-boot.json
@@ -952,9 +952,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
               "legacy": "powerpc-ieee1275",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le",
+              "write_cmdline": false
             }
           },
           {
@@ -10440,7 +10440,6 @@
       ]
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json b/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json
index db2ab2818..e3196e772 100644
--- a/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json
+++ b/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json
@@ -356,7 +356,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -1270,9 +1270,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
               "legacy": "powerpc-ieee1275",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le",
+              "write_cmdline": false
             }
           },
           {
@@ -12861,7 +12861,6 @@
       ]
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
     },
     "bootloader": "unknown",
@@ -12872,7 +12871,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": "CentOS Stream (0-rescue-ffffffffffffffffffffffffffffffff) 9",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -12882,7 +12881,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-5.14.0-55.el9.ppc64le.img $tuned_initrd",
         "linux": "/vmlinuz-5.14.0-55.el9.ppc64le",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 $tuned_params",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug $tuned_params",
         "title": "CentOS Stream (5.14.0-55.el9.ppc64le) 9",
         "version": "5.14.0-55.el9.ppc64le"
       }
diff --git a/test/data/manifests/centos_9-s390x-qcow2-boot.json b/test/data/manifests/centos_9-s390x-qcow2-boot.json
index 7822d02cf..ff82b6d1a 100644
--- a/test/data/manifests/centos_9-s390x-qcow2-boot.json
+++ b/test/data/manifests/centos_9-s390x-qcow2-boot.json
@@ -11455,7 +11455,7 @@
         "grub_arg": "--unrestricted",
         "grub_class": "kernel",
         "grub_users": "$grub_users",
-        "id": "-20220219190204-5.14.0-55.el9.s390x",
+        "id": "-20220222233022-5.14.0-55.el9.s390x",
         "initrd": "/boot/initramfs-5.14.0-55.el9.s390x.img",
         "linux": "/boot/vmlinuz-5.14.0-55.el9.s390x",
         "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
diff --git a/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json b/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json
index 152df4210..bfb58cc4b 100644
--- a/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json
+++ b/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json
@@ -459,7 +459,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -13689,10 +13689,10 @@
         "grub_arg": "--unrestricted",
         "grub_class": "kernel",
         "grub_users": "$grub_users",
-        "id": "-20220219190404-0-rescue-ffffffffffffffffffffffffffffffff",
+        "id": "-20220222233227-0-rescue-ffffffffffffffffffffffffffffffff",
         "initrd": "/boot/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/boot/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": " (0-rescue-ffffffffffffffffffffffffffffffff)",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -13700,10 +13700,10 @@
         "grub_arg": "--unrestricted",
         "grub_class": "kernel",
         "grub_users": "$grub_users",
-        "id": "-20220219190404-5.14.0-55.el9.s390x",
+        "id": "-20220222233227-5.14.0-55.el9.s390x",
         "initrd": "/boot/initramfs-5.14.0-55.el9.s390x.img",
         "linux": "/boot/vmlinuz-5.14.0-55.el9.s390x",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": " (5.14.0-55.el9.s390x)",
         "version": "5.14.0-55.el9.s390x"
       }
diff --git a/test/data/manifests/centos_9-x86_64-ami-boot.json b/test/data/manifests/centos_9-x86_64-ami-boot.json
index 06ce58fd9..3440efe7b 100644
--- a/test/data/manifests/centos_9-x86_64-ami-boot.json
+++ b/test/data/manifests/centos_9-x86_64-ami-boot.json
@@ -981,9 +981,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
               "legacy": "i386-pc",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9194,7 +9194,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/centos_9-x86_64-openstack-boot.json b/test/data/manifests/centos_9-x86_64-openstack-boot.json
index 4e7dc4b10..2ec1cee17 100644
--- a/test/data/manifests/centos_9-x86_64-openstack-boot.json
+++ b/test/data/manifests/centos_9-x86_64-openstack-boot.json
@@ -929,12 +929,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "centos"
+                "vendor": "centos",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9990,7 +9991,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/centos_9-x86_64-qcow2-boot.json b/test/data/manifests/centos_9-x86_64-qcow2-boot.json
index aed79d919..e5d0eaab9 100644
--- a/test/data/manifests/centos_9-x86_64-qcow2-boot.json
+++ b/test/data/manifests/centos_9-x86_64-qcow2-boot.json
@@ -924,12 +924,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "centos"
+                "vendor": "centos",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9875,7 +9876,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json b/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json
index 096c85392..ac8ba3303 100644
--- a/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json
+++ b/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json
@@ -366,7 +366,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -1250,12 +1250,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "centos"
+                "vendor": "centos",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -12420,7 +12421,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
@@ -12431,7 +12431,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": "CentOS Stream (0-rescue-ffffffffffffffffffffffffffffffff) 9",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -12441,7 +12441,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-5.14.0-55.el9.x86_64.img $tuned_initrd",
         "linux": "/vmlinuz-5.14.0-55.el9.x86_64",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 $tuned_params",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug $tuned_params",
         "title": "CentOS Stream (5.14.0-55.el9.x86_64) 9",
         "version": "5.14.0-55.el9.x86_64"
       }
diff --git a/test/data/manifests/centos_9-x86_64-vhd-boot.json b/test/data/manifests/centos_9-x86_64-vhd-boot.json
index 9292e922a..b3295145e 100644
--- a/test/data/manifests/centos_9-x86_64-vhd-boot.json
+++ b/test/data/manifests/centos_9-x86_64-vhd-boot.json
@@ -928,12 +928,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro biosdevname=0 rootdelay=300 console=ttyS0 earlyprintk=ttyS0 net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "centos"
+                "vendor": "centos",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9884,7 +9885,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro biosdevname=0 rootdelay=300 console=ttyS0 earlyprintk=ttyS0 net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/centos_9-x86_64-vmdk-boot.json b/test/data/manifests/centos_9-x86_64-vmdk-boot.json
index e327785ad..5bf3fa873 100644
--- a/test/data/manifests/centos_9-x86_64-vmdk-boot.json
+++ b/test/data/manifests/centos_9-x86_64-vmdk-boot.json
@@ -895,12 +895,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "centos"
+                "vendor": "centos",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9570,7 +9571,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-aarch64-ami-boot.json b/test/data/manifests/rhel_90-aarch64-ami-boot.json
index 6511b76bc..01a56cf2e 100644
--- a/test/data/manifests/rhel_90-aarch64-ami-boot.json
+++ b/test/data/manifests/rhel_90-aarch64-ami-boot.json
@@ -1005,12 +1005,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 iommu.strict=0",
               "uefi": {
                 "vendor": "redhat",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -8966,7 +8966,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 iommu.strict=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/rhel_90-aarch64-ec2-boot.json b/test/data/manifests/rhel_90-aarch64-ec2-boot.json
index d3040b458..bf46b9304 100644
--- a/test/data/manifests/rhel_90-aarch64-ec2-boot.json
+++ b/test/data/manifests/rhel_90-aarch64-ec2-boot.json
@@ -1020,12 +1020,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 iommu.strict=0",
               "uefi": {
                 "vendor": "redhat",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -9028,7 +9028,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 iommu.strict=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/rhel_90-aarch64-openstack-boot.json b/test/data/manifests/rhel_90-aarch64-openstack-boot.json
index 387a694aa..2f7b90cf9 100644
--- a/test/data/manifests/rhel_90-aarch64-openstack-boot.json
+++ b/test/data/manifests/rhel_90-aarch64-openstack-boot.json
@@ -899,12 +899,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro net.ifnames=0",
               "uefi": {
                 "vendor": "redhat",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -8973,7 +8973,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/rhel_90-aarch64-qcow2-boot.json b/test/data/manifests/rhel_90-aarch64-qcow2-boot.json
index 81c745f04..99f4eb66a 100644
--- a/test/data/manifests/rhel_90-aarch64-qcow2-boot.json
+++ b/test/data/manifests/rhel_90-aarch64-qcow2-boot.json
@@ -925,12 +925,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
               "uefi": {
                 "vendor": "redhat",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -9113,7 +9113,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json b/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json
index 18fea4210..444c6b3ff 100644
--- a/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json
+++ b/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json
@@ -344,7 +344,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -1258,12 +1258,12 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
               "uefi": {
                 "vendor": "redhat",
                 "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64",
+              "write_cmdline": false
             }
           },
           {
@@ -11477,7 +11477,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.aarch64"
     },
     "bootloader": "unknown",
@@ -11488,7 +11487,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": "Red Hat Enterprise Linux (0-rescue-ffffffffffffffffffffffffffffffff) 9.0 (Plow)",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -11498,7 +11497,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-5.14.0-55.el9.aarch64.img $tuned_initrd",
         "linux": "/vmlinuz-5.14.0-55.el9.aarch64",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 $tuned_params",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug $tuned_params",
         "title": "Red Hat Enterprise Linux (5.14.0-55.el9.aarch64) 9.0 (Plow)",
         "version": "5.14.0-55.el9.aarch64"
       }
diff --git a/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json b/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json
index 1b46af7c0..488d1e63b 100644
--- a/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json
+++ b/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json
@@ -982,9 +982,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
               "legacy": "powerpc-ieee1275",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le",
+              "write_cmdline": false
             }
           },
           {
@@ -9909,7 +9909,6 @@
       ]
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
     },
     "bootloader": "unknown",
diff --git a/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json b/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json
index 8c8499c6d..31337bcf4 100644
--- a/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json
+++ b/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json
@@ -355,7 +355,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -1323,9 +1323,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
               "legacy": "powerpc-ieee1275",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le",
+              "write_cmdline": false
             }
           },
           {
@@ -12353,7 +12353,6 @@
       ]
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.ppc64le"
     },
     "bootloader": "unknown",
@@ -12364,7 +12363,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": "Red Hat Enterprise Linux (0-rescue-ffffffffffffffffffffffffffffffff) 9.0 (Plow)",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -12374,7 +12373,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-5.14.0-55.el9.ppc64le.img $tuned_initrd",
         "linux": "/vmlinuz-5.14.0-55.el9.ppc64le",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 $tuned_params",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug $tuned_params",
         "title": "Red Hat Enterprise Linux (5.14.0-55.el9.ppc64le) 9.0 (Plow)",
         "version": "5.14.0-55.el9.ppc64le"
       }
diff --git a/test/data/manifests/rhel_90-s390x-qcow2-boot.json b/test/data/manifests/rhel_90-s390x-qcow2-boot.json
index 786613a22..74eba0fe1 100644
--- a/test/data/manifests/rhel_90-s390x-qcow2-boot.json
+++ b/test/data/manifests/rhel_90-s390x-qcow2-boot.json
@@ -10825,7 +10825,7 @@
         "grub_arg": "--unrestricted",
         "grub_class": "kernel",
         "grub_users": "$grub_users",
-        "id": "-20220219194703-5.14.0-55.el9.s390x",
+        "id": "-20220222232122-5.14.0-55.el9.s390x",
         "initrd": "/boot/initramfs-5.14.0-55.el9.s390x.img",
         "linux": "/boot/vmlinuz-5.14.0-55.el9.s390x",
         "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
diff --git a/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json b/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json
index 7ee66a5c5..aa08b7c20 100644
--- a/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json
+++ b/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json
@@ -458,7 +458,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -13089,10 +13089,10 @@
         "grub_arg": "--unrestricted",
         "grub_class": "kernel",
         "grub_users": "$grub_users",
-        "id": "-20220219194907-0-rescue-ffffffffffffffffffffffffffffffff",
+        "id": "-20220222232346-0-rescue-ffffffffffffffffffffffffffffffff",
         "initrd": "/boot/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/boot/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": " (0-rescue-ffffffffffffffffffffffffffffffff)",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -13100,10 +13100,10 @@
         "grub_arg": "--unrestricted",
         "grub_class": "kernel",
         "grub_users": "$grub_users",
-        "id": "-20220219194907-5.14.0-55.el9.s390x",
+        "id": "-20220222232346-5.14.0-55.el9.s390x",
         "initrd": "/boot/initramfs-5.14.0-55.el9.s390x.img",
         "linux": "/boot/vmlinuz-5.14.0-55.el9.s390x",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": " (5.14.0-55.el9.s390x)",
         "version": "5.14.0-55.el9.s390x"
       }
diff --git a/test/data/manifests/rhel_90-x86_64-ami-boot.json b/test/data/manifests/rhel_90-x86_64-ami-boot.json
index b4a41fc2c..0c90b9261 100644
--- a/test/data/manifests/rhel_90-x86_64-ami-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-ami-boot.json
@@ -999,9 +999,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
               "legacy": "i386-pc",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -8737,7 +8737,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-x86_64-ec2-boot.json b/test/data/manifests/rhel_90-x86_64-ec2-boot.json
index dbd60d635..5ab6c3bbf 100644
--- a/test/data/manifests/rhel_90-x86_64-ec2-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-ec2-boot.json
@@ -1016,9 +1016,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
               "legacy": "i386-pc",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -8801,7 +8801,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json b/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json
index fb01393ba..29fe59f37 100644
--- a/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json
@@ -1214,9 +1214,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
               "legacy": "i386-pc",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -11240,7 +11240,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json b/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json
index 5c01863d8..930e3d9a1 100644
--- a/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json
@@ -1439,9 +1439,9 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 processor.max_cstate=1 intel_idle.max_cstate=1",
               "legacy": "i386-pc",
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -12521,7 +12521,6 @@
       "profile-id": "sssd"
     },
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau nvme_core.io_timeout=4294967295 processor.max_cstate=1 intel_idle.max_cstate=1",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-x86_64-openstack-boot.json b/test/data/manifests/rhel_90-x86_64-openstack-boot.json
index 6493a0437..0866330ec 100644
--- a/test/data/manifests/rhel_90-x86_64-openstack-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-openstack-boot.json
@@ -933,12 +933,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "redhat"
+                "vendor": "redhat",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9408,7 +9409,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-x86_64-qcow2-boot.json b/test/data/manifests/rhel_90-x86_64-qcow2-boot.json
index 00f2c2af4..75e94aa2c 100644
--- a/test/data/manifests/rhel_90-x86_64-qcow2-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-qcow2-boot.json
@@ -945,12 +945,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "redhat"
+                "vendor": "redhat",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9366,7 +9367,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json b/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json
index 8c7b3865e..0f03f777b 100644
--- a/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json
@@ -358,7 +358,7 @@
             "type": "org.osbuild.kernel-cmdline",
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0"
+              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug"
             }
           },
           {
@@ -1295,12 +1295,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "redhat"
+                "vendor": "redhat",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -11936,7 +11937,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
@@ -11947,7 +11947,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img",
         "linux": "/vmlinuz-0-rescue-ffffffffffffffffffffffffffffffff",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug",
         "title": "Red Hat Enterprise Linux (0-rescue-ffffffffffffffffffffffffffffffff) 9.0 (Plow)",
         "version": "0-rescue-ffffffffffffffffffffffffffffffff"
       },
@@ -11957,7 +11957,7 @@
         "grub_users": "$grub_users",
         "initrd": "/initramfs-5.14.0-55.el9.x86_64.img $tuned_initrd",
         "linux": "/vmlinuz-5.14.0-55.el9.x86_64",
-        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 $tuned_params",
+        "options": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 debug $tuned_params",
         "title": "Red Hat Enterprise Linux (5.14.0-55.el9.x86_64) 9.0 (Plow)",
         "version": "5.14.0-55.el9.x86_64"
       }
diff --git a/test/data/manifests/rhel_90-x86_64-vhd-boot.json b/test/data/manifests/rhel_90-x86_64-vhd-boot.json
index b795c32a1..4ec990d5e 100644
--- a/test/data/manifests/rhel_90-x86_64-vhd-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-vhd-boot.json
@@ -932,12 +932,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro biosdevname=0 rootdelay=300 console=ttyS0 earlyprintk=ttyS0 net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "redhat"
+                "vendor": "redhat",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9310,7 +9311,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro biosdevname=0 rootdelay=300 console=ttyS0 earlyprintk=ttyS0 net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",
diff --git a/test/data/manifests/rhel_90-x86_64-vmdk-boot.json b/test/data/manifests/rhel_90-x86_64-vmdk-boot.json
index 02b373997..59f567915 100644
--- a/test/data/manifests/rhel_90-x86_64-vmdk-boot.json
+++ b/test/data/manifests/rhel_90-x86_64-vmdk-boot.json
@@ -905,12 +905,13 @@
             "options": {
               "root_fs_uuid": "6e4ff95f-f662-45ee-a82a-bdf44a2d0b75",
               "boot_fs_uuid": "0194fdc2-fa2f-4cc0-81d3-ff12045b73c8",
-              "kernel_opts": "ro net.ifnames=0",
               "legacy": "i386-pc",
               "uefi": {
-                "vendor": "redhat"
+                "vendor": "redhat",
+                "unified": true
               },
-              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
+              "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64",
+              "write_cmdline": false
             }
           },
           {
@@ -9079,7 +9080,6 @@
   "image-info": {
     "/etc/resolv.conf": [],
     "boot-environment": {
-      "kernelopts": "root=UUID=6e4ff95f-f662-45ee-a82a-bdf44a2d0b75 ro net.ifnames=0",
       "saved_entry": "ffffffffffffffffffffffffffffffff-5.14.0-55.el9.x86_64"
     },
     "bootloader": "grub",