summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-03-03 12:20:54 -0800
committerkalyanreddy <reddyx.gundarapu@intel.com>2017-03-03 12:25:37 -0800
commit570d93ddbb5e5e54aec9a7c1faf0c24204229c59 (patch)
treeb9d07fc31bb1abe9df3925c87654f3f1357ed014
parent77e6660ea78c5934e4b606a5342c4e0e64be1de6 (diff)
This patch includes host and guest configuration script updates
to install kvmfornfv built kernel and configure the grub for executing test cases on latest installed kernel. Change-Id: I5a4b2959d098279337ec80f1faabc79267fe74e0 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
-rwxr-xr-xci/envs/guest-setup0.sh3
-rwxr-xr-xci/envs/host-setup0.sh4
2 files changed, 4 insertions, 3 deletions
diff --git a/ci/envs/guest-setup0.sh b/ci/envs/guest-setup0.sh
index 301d34cbe..fb3133b9f 100755
--- a/ci/envs/guest-setup0.sh
+++ b/ci/envs/guest-setup0.sh
@@ -64,5 +64,6 @@ config_grub 'idle' 'poll'
## Disable clocksource verification at runtime
config_grub 'tsc' 'reliable'
-grub2-mkconfig -o /boot/grub2/grub.cfg
+sed -ie 's/saved/0/g' /etc/default/grub
install_kernel
+grub2-mkconfig -o /boot/grub2/grub.cfg
diff --git a/ci/envs/host-setup0.sh b/ci/envs/host-setup0.sh
index 0778aae96..1bd7f1205 100755
--- a/ci/envs/host-setup0.sh
+++ b/ci/envs/host-setup0.sh
@@ -76,6 +76,6 @@ config_grub 'idle' 'poll'
## Disable clocksource verification at runtime
config_grub 'tsc' 'reliable'
-grub2-mkconfig -o /boot/grub2/grub.cfg
-
install_kernel
+
+grub2-mkconfig -o /boot/grub2/grub.cfg