Skip to content

Commit

Permalink
gate ignition behind el92/c9s
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 16eaad4 commit c1e0f09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/distro/rhel9/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ func edgeCommitImage(workload workload.Workload,

img.Platform = t.platform
img.OSCustomizations = osCustomizations(t, packageSets[osPkgsKey], options, containers, customizations)
if !common.VersionLessThan(t.arch.distro.osVersion, "9.2") || !common.VersionLessThan(t.arch.distro.osVersion, "9-stream") {
img.OSCustomizations.EnabledServices = append(img.OSCustomizations.EnabledServices, "ignition-firstboot-complete.service", "coreos-ignition-write-issues", "coreos-ignition-write-issues")
}
img.Environment = t.environment
img.Workload = workload

Expand Down

0 comments on commit c1e0f09

Please sign in to comment.