Skip to content

Commit

Permalink
inject blueprint's kargs into edge raw image
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
runcom committed Jan 11, 2023
1 parent f290e5f commit 16eaad4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/distro/rhel9/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16eaad4

Please sign in to comment.