From 82825744ec7755783c3ff30df7ce93f0f09ca652 Mon Sep 17 00:00:00 2001 From: Hyacinthe Cartiaux Date: Mon, 13 May 2024 01:11:20 +0200 Subject: [PATCH] Actions - test, ssh options --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f729e7e..db9d0f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,7 @@ jobs: - name: Wait for a successful ssh connection run: | max=300 - while [[ ! $(ssh -i ~/.ssh/id_rsa -oPasswordAuthentication=no -oStrictHostKeyChecking=no test@localhost -p 2222 true) ]] ; do + while [[ ! $(ssh -i ~/.ssh/id_rsa -oPasswordAuthentication=no -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oConnectTimeout=2 test@localhost -p 2222 true) ]] ; do sleep 1 ; try=$((try + 1)) if [[ "$try" -gt "$max" ]] ; then echo "== System configuration failed :( =="