summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-10-25 18:58:52 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-25 18:58:52 +0000
commitdfdc2f25446e9cbf3c7adc689c5636ecbf089954 (patch)
tree36165f1b72186dfbdb8fbc5c70a6b9a1a38a96aa
parentf5046619968cf113c91a0e7aa6dea08209b26b9c (diff)
parent4bdf72b9c96a3c3d213f82fd3686b6c82e872cbe (diff)
Merge "Disable known hosts checking in kubevirt test"
-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