diff options
author | Navya <navyax.bathula@intel.com> | 2017-10-04 02:55:58 -0700 |
---|---|---|
committer | Navya Bathula <navyax.bathula@intel.com> | 2017-12-01 10:31:25 +0000 |
commit | 25bab7efd6c04454eec1c32181b4123456b0d940 (patch) | |
tree | 5a7882e03bfd449eaa3ffa22324e211adb57048f /ci/envs/host-setup0.sh | |
parent | 4b7d14569c243e33d966c4d411c8ccc6b26f7d1b (diff) |
Execution of Livemigration through Yardstick
This Patch includes the scripts to execute the live migration test
using Yardstick and providing the information of VM downtime,
setuptime,totaltime
Change-Id: Ibe768adde1e5b2289a716524a274081cca97751d
Co-Authored by:RajithaY<rajithax.yerrumsetty@intel.com>
Signed-off-by: Navya <navyax.bathula@intel.com>
(cherry picked from commit 7ea7eea6dab8c1b40c2626eead4ced80e77f87b9)
Diffstat (limited to 'ci/envs/host-setup0.sh')
-rwxr-xr-x | ci/envs/host-setup0.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/envs/host-setup0.sh b/ci/envs/host-setup0.sh index 1bd7f1205..e852726d7 100755 --- a/ci/envs/host-setup0.sh +++ b/ci/envs/host-setup0.sh @@ -19,6 +19,7 @@ if [ -z $KERNEL_VERSION ];then fi rpmdir=${1:-"/root/workspace/rpm/"} rpmpat="kernel-${KERNEL_VERSION}*.rpm" +rpmdev="kernel-devel-${KERNEL_VERSION}*.rpm" config_grub () { key=$1 @@ -31,7 +32,7 @@ config_grub () { fi } -# The script's caller should passing the rpm directory that is built out from +# The script's caller should passing the rpm directory that is built out from # build.sh. The default rpmdir is the one used by yardstick scripts. install_kernel () { # Install the kernel rpm @@ -46,7 +47,9 @@ install_kernel () { exit 1 else krpm=`find "${rpmdir}" -name "${rpmpat}"` + kdrpm=`find "${rpmdir}" -name "${rpmdev}"` rpm -ihv $krpm + rpm -ihv $kdrpm fi } |