RHEL-9.0: install and enable TuneD by default on all EC2 images

Add TuneD package to the base package set for all EC2 image types,
including the `ami` image type. In addition to installing the package,
also enable the service by default. TuneD will by default auto-detect
the environment in which the image is running and set the most
appropriate TuneD profile, with exception of the `ec2-sap` image, which
explicitly sets a specific TuneD profile.

This change affects the `ami`, `ec2`, and `ec2-ha` image types on all
supported architectures.

Regenerate affected image test cases.

Related to RHELPLAN-102615
Fix #1972

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-11-16 16:09:28 +01:00 committed by Achilleas Koutsou
parent c37b688dd2
commit 8420f34b7a
8 changed files with 541 additions and 32 deletions

View file

@ -757,6 +757,7 @@ func newDistro(distroName string) distro.Distro {
"cloud-config",
"cloud-final",
"reboot.target",
"tuned",
}
amiImgTypeX86_64 := imageType{

View file

@ -335,7 +335,7 @@ func ec2CommonPackageSet(t *imageType) rpmmd.PackageSet {
"cloud-utils-growpart", "dhcp-client", "yum-utils",
"dracut-config-generic", "gdisk", "grub2",
"langpacks-en", "NetworkManager", "NetworkManager-cloud-setup",
"redhat-release", "redhat-release-eula", "rsync", "tar",
"redhat-release", "redhat-release-eula", "rsync", "tar", "tuned",
"qemu-guest-agent",
},
Exclude: []string{