From: Todd Malsbary Date: Mon, 21 Jun 2021 19:13:29 +0000 (-0700) Subject: Remove warning displayed from ssh commands in baremetal test X-Git-Tag: 0.9.0~16^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F122085%2F1;p=multicloud%2Fk8s.git Remove warning displayed from ssh commands in baremetal test Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary Change-Id: If2845857cd72768b0a1c6cf3831e64f3dc412ebf --- 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 {