rhel85: redefine the ami image based on RHEL ec2 images

Redefine the `ami` image type in RHEL-8.5 to be based on RHEL
ec2 images. The pipeline has different default settings, therefore the
common "os" pipeline is not used. The RHEL ec2 images have a different
default size than the original `ami` image definition. The RHEL ec2
images use a different default partitioning scheme. Their configuration
is slightly different for each architecture and the x86_64 version
of the image does not support UEFI.

Update rpmrepo snapshots used to generate RHEL-8.5 x86_64 and aarch64
image test cases.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-07-29 15:54:47 +02:00 committed by Ondřej Budai
parent a2ecf46e04
commit 02ff0fc606
9 changed files with 9967 additions and 9877 deletions

View file

@ -389,7 +389,11 @@ fi
case $(set +x; . /etc/os-release; echo "$ID-$VERSION_ID") in
"rhel-8.5")
DISTRO="rhel-85"
SSH_USER="cloud-user"
if [[ "$CLOUD_PROVIDER" == "$CLOUD_PROVIDER_AWS" ]]; then
SSH_USER="ec2-user"
else
SSH_USER="cloud-user"
fi
;;
"rhel-8.4")
DISTRO="rhel-84"