From 0034c7781236d66249a804a827ec82c35561c655 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Mon, 21 Jun 2021 12:13:29 -0700 Subject: Remove warning displayed from ssh commands in baremetal test Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary Change-Id: If2845857cd72768b0a1c6cf3831e64f3dc412ebf --- kud/tests/_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kud') 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 { -- cgit 1.2.3-korg