From 570d93ddbb5e5e54aec9a7c1faf0c24204229c59 Mon Sep 17 00:00:00 2001 From: kalyanreddy Date: Fri, 3 Mar 2017 12:20:54 -0800 Subject: 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 --- ci/envs/guest-setup0.sh | 3 ++- ci/envs/host-setup0.sh | 4 ++-- 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 -- cgit 1.2.3-korg