This patch contains script updates to disable stricthostkeychecking 39/22539/2
authorkalyanreddy <reddyx.gundarapu@intel.com>
Thu, 29 Sep 2016 05:30:22 +0000 (11:00 +0530)
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>
Thu, 29 Sep 2016 05:35:16 +0000 (05:35 +0000)
during the execution of cyclictest.

Change-Id: I382408d0f462c05f3f9b6578b3e00d104d127ee7
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
ci/envs/cyclictest.sh

index 4c5440d..2af22af 100755 (executable)
@@ -21,7 +21,8 @@ if [ ! -f ${cyclictest_context_file} ] ; then
 fi
 
 #setting up of image for launching guest vm.
-sudo ssh root@$HOST_IP "cp /root/images/guest1.qcow2 /root/"
+ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
+root@$HOST_IP "cp /root/images/guest1.qcow2 /root/"
 
 #Running cyclictest through yardstick
 yardstick -d task start ${cyclictest_context_file}