From 26a250ca6ef4e5abef16826768e19562e4eaf602 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 17 Dec 2021 15:08:20 +0100 Subject: [PATCH] test/data: don't write cmdline in grub2 In the fedora-boot manifest, do not write the kernel command line to the `grubenv` file. --- test/data/manifests/fedora-boot.json | 4 ++-- test/data/manifests/fedora-boot.mpp.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/data/manifests/fedora-boot.json b/test/data/manifests/fedora-boot.json index 7ef563ef..4a037ab4 100644 --- a/test/data/manifests/fedora-boot.json +++ b/test/data/manifests/fedora-boot.json @@ -681,9 +681,9 @@ "name": "org.osbuild.grub2", "options": { "root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac", - "kernel_opts": "ro biosdevname=0 net.ifnames=0", "legacy": "i386-pc", - "saved_entry": "ffffffffffffffffffffffffffffffff-5.11.12-300.fc34.x86_64" + "saved_entry": "ffffffffffffffffffffffffffffffff-5.11.12-300.fc34.x86_64", + "write_cmdline": false } }, { diff --git a/test/data/manifests/fedora-boot.mpp.json b/test/data/manifests/fedora-boot.mpp.json index a67f11d0..522885f3 100644 --- a/test/data/manifests/fedora-boot.mpp.json +++ b/test/data/manifests/fedora-boot.mpp.json @@ -76,11 +76,11 @@ "name": "org.osbuild.grub2", "options": { "root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac", - "kernel_opts": "ro biosdevname=0 net.ifnames=0", "legacy": "i386-pc", "saved_entry": { "mpp-format-string": "{'f'*32}-{rpms['stages']['kernel-core'].evra}" - } + }, + "write_cmdline": false } }, {