Skip to content

Commit

Permalink
manifest: Add awscli2 to RHEL 9 AMI (CLOUDX-913)
Browse files Browse the repository at this point in the history
The awscli2 package is included in the upcoming RHEL 9.5.0 release and
it would be helpful to include it in AWS AMIs by default.

Signed-off-by: Major Hayden <[email protected]>
  • Loading branch information
major authored and achilleas-k committed Jun 11, 2024
1 parent b6fd436 commit c46dc3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/distro/rhel/rhel9/ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,11 @@ func ec2CommonPackageSet(t *rhel.ImageType) rpmmd.PackageSet {
},
}.Append(distroSpecificPackageSet(t))

// Include awscli2 on RHEL 9.5+ (CLOUDX-913)
if common.VersionGreaterThanOrEqual(t.Arch().Distro().OsVersion(), "9.5") {
ps.Include = append(ps.Include, "awscli2")
}

return ps
}

Expand Down

0 comments on commit c46dc3b

Please sign in to comment.