summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-06-21 12:13:29 -0700
committerTodd Malsbary <todd.malsbary@intel.com>2021-06-21 12:17:19 -0700
commit0034c7781236d66249a804a827ec82c35561c655 (patch)
treebaeabfff8c5ec466684cefccc5336ef2d1f65589
parentdc925231a978d1ae4dce969cb4c386d4a1b0bb87 (diff)
Remove warning displayed from ssh commands in baremetal test
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: If2845857cd72768b0a1c6cf3831e64f3dc412ebf
-rwxr-xr-xkud/tests/_functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/tests/_functions.sh b/kud/tests/_functions.sh
index 7a3e97ab..10f8e090 100755
--- a/kud/tests/_functions.sh
+++ b/kud/tests/_functions.sh
@@ -27,7 +27,7 @@ function print_msg {
function ssh_cluster {
master_ip=$(kubectl cluster-info | grep "Kubernetes master" | awk -F '[:/]' '{print $4}')
- ssh -o StrictHostKeyChecking=no ${master_ip} -- "$@"
+ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${master_ip} -- "$@"
}
function get_ovn_central_address {