From ceb8f2a952d1752d9003d79dfff8550a1f160047 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 9 May 2017 15:25:41 -0700 Subject: [PATCH] test/nvme/hotplug: disable SSH host key checking The first time this test runs on a machine, it will not have the SSH key in its known_hosts, so allow it to connect without user intervention. Change-Id: I27f750f41e1819b526197af2d0b9ae15382d9aa4 Signed-off-by: Daniel Verkamp --- test/lib/nvme/hotplug.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/nvme/hotplug.sh b/test/lib/nvme/hotplug.sh index 1d03f5f97..589465e60 100755 --- a/test/lib/nvme/hotplug.sh +++ b/test/lib/nvme/hotplug.sh @@ -7,7 +7,7 @@ rootdir=$(readlink -f $testdir/../../..) source $rootdir/scripts/autotest_common.sh function ssh_vm() { - sshpass -p "$password" ssh -o PubkeyAuthentication=no -p 10022 root@localhost "$@" + sshpass -p "$password" ssh -o PubkeyAuthentication=no -o StrictHostKeyChecking=no -p 10022 root@localhost "$@" } function monitor_cmd() {