From 16eaad4c089076abe23061e3332c10ffb626e37a Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Mon, 19 Dec 2022 09:26:00 +0100 Subject: [PATCH] inject blueprint's kargs into edge raw image Signed-off-by: Antonio Murdaca --- internal/distro/rhel9/images.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/distro/rhel9/images.go b/internal/distro/rhel9/images.go index 855039e1d93..0ce4deed452 100644 --- a/internal/distro/rhel9/images.go +++ b/internal/distro/rhel9/images.go @@ -409,6 +409,11 @@ func edgeSimplifiedInstallerImage(workload workload.Workload, rawImg.Filename = t.Filename() + // 92+ only + if kopts := customizations.GetKernel(); kopts != nil { + rawImg.KernelOptionsAppend = append(rawImg.KernelOptionsAppend, kopts.Append) + } + img := image.NewOSTreeSimplifiedInstaller(rawImg, customizations.InstallationDevice) img.ExtraBasePackages = packageSets[installerPkgsKey] // img.Workload = workload