From 232a1a8dade19dbdf88623ed5ef356966bd5d735 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 26 May 2020 17:05:36 +0200 Subject: [PATCH] copr-be: specify connection timeout for vm-aws-check --- roles/copr/backend/templates/resalloc/vm-aws-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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