test/cases: add RHEL 9.0 and CentOS 9 cases to test scripts

This commit is contained in:
Achilleas Koutsou 2021-10-27 16:05:00 +02:00 committed by Ondřej Budai
parent 1dd139e758
commit a025601b85
8 changed files with 38 additions and 18 deletions

View file

@ -429,6 +429,14 @@ case "$ID-$VERSION_ID" in
SSH_USER="cloud-user"
fi
;;
"centos-9")
DISTRO="centos-9"
if [[ "$CLOUD_PROVIDER" == "$CLOUD_PROVIDER_AWS" ]]; then
SSH_USER="ec2-user"
else
SSH_USER="cloud-user"
fi
;;
esac
# Only RHEL need subscription block.