diff --git a/roles/copr/backend/templates/resalloc/vm-aws-check b/roles/copr/backend/templates/resalloc/vm-aws-check index 3c450f89ce..30982f1eac 100755 --- a/roles/copr/backend/templates/resalloc/vm-aws-check +++ b/roles/copr/backend/templates/resalloc/vm-aws-check @@ -10,4 +10,4 @@ test -n "$RESALLOC_RESOURCE_DATA" # we only put IP out in spawning script, nothing else set -- $(echo "$RESALLOC_RESOURCE_DATA" | base64 --decode) IP=$1 -ssh "root@$IP" true +ssh -o ConnectTimeout=10 "root@$IP" true