test/api: SSH_USER=ec2-user for centos on AWS
This commit is contained in:
parent
63fd590fc2
commit
62a9aadfe4
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue