summaryrefslogtreecommitdiffstats
path: root/kud
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-10-12 15:48:11 -0700
committerTodd Malsbary <todd.malsbary@intel.com>2021-10-22 10:31:00 -0700
commit4bdf72b9c96a3c3d213f82fd3686b6c82e872cbe (patch)
tree84a8d1ff842dabe35c830fa8b66c3df8494322e1 /kud
parenta6729589f63719580a404513db4846b98c16b455 (diff)
Disable known hosts checking in kubevirt test
Issue-ID: MULTICLOUD-1411 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I45a2df40fa8d1ebb7461454010e8c0713a4e8a90
Diffstat (limited to 'kud')
-rwxr-xr-xkud/tests/kubevirt.sh2
1 files changed, 1 insertions, 1 deletions
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