test/api: SSH_USER=ec2-user for centos on AWS

This commit is contained in:
Achilleas Koutsou 2021-10-14 13:02:28 +02:00 committed by Tom Gundersen
parent 63fd590fc2
commit 62a9aadfe4

View file

@ -431,7 +431,11 @@ case "$ID-$VERSION_ID" in
;;
"centos-8")
DISTRO="centos-8"
SSH_USER="cloud-user"
if [[ "$CLOUD_PROVIDER" == "$CLOUD_PROVIDER_AWS" ]]; then
SSH_USER="ec2-user"
else
SSH_USER="cloud-user"
fi
;;
esac