From 4bdf72b9c96a3c3d213f82fd3686b6c82e872cbe Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Tue, 12 Oct 2021 15:48:11 -0700 Subject: Disable known hosts checking in kubevirt test Issue-ID: MULTICLOUD-1411 Signed-off-by: Todd Malsbary Change-Id: I45a2df40fa8d1ebb7461454010e8c0713a4e8a90 --- kud/tests/kubevirt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kud/tests/kubevirt.sh b/kud/tests/kubevirt.sh index 529a67a7..bebc8ce0 100755 --- a/kud/tests/kubevirt.sh +++ b/kud/tests/kubevirt.sh @@ -49,7 +49,7 @@ interval=60 for ((try=1;try<=$tries;try++)); do echo "try $try/$tries: Wait for $interval seconds to check for ssh access" sleep $interval - if sshpass -p testuser ssh -o ProxyCommand="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p $(control_plane_ip)" -o StrictHostKeyChecking=no testuser@$(kubectl get pods $deployment_pod -o jsonpath="{.status.podIP}") -- uptime; then + if sshpass -p testuser ssh -o ProxyCommand="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p $(control_plane_ip)" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null testuser@$(kubectl get pods $deployment_pod -o jsonpath="{.status.podIP}") -- uptime; then echo "ssh access check is success" break fi -- cgit 1.2.3-korg