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 <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-05-09 15:25:41 -07:00
parent 6de5c05556
commit ceb8f2a952

View File

@ -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() {