Disable known hosts checking in kubevirt test 80/125280/1
authorTodd Malsbary <todd.malsbary@intel.com>
Tue, 12 Oct 2021 22:48:11 +0000 (15:48 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Fri, 22 Oct 2021 17:31:00 +0000 (10:31 -0700)
Issue-ID: MULTICLOUD-1411
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I45a2df40fa8d1ebb7461454010e8c0713a4e8a90

kud/tests/kubevirt.sh

index 529a67a..bebc8ce 100755 (executable)
@@ -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