Skip to content

Commit 79688cd

Browse files
mvo5supakeen
authored andcommitted
bootc: add kernel customizations support to BootcAnacondaInstaller
1 parent d02abd2 commit 79688cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/distro/bootc/iso.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ func (t *BootcAnacondaInstaller) Manifest(bp *blueprint.Blueprint, options distr
201201
anaconda.ModuleRuntime,
202202
anaconda.ModuleStorage,
203203
)
204+
if bpKernel := customizations.GetKernel(); bpKernel.Append != "" {
205+
img.InstallerCustomizations.KernelOptionsAppend = append(img.InstallerCustomizations.KernelOptionsAppend, bpKernel.Append)
206+
}
204207

205208
img.Kickstart.OSTree = &kickstart.OSTree{
206209
OSName: "default",

0 commit comments

Comments
 (0)