From: kalyanreddy Date: Fri, 3 Mar 2017 20:20:54 +0000 (-0800) Subject: This patch includes host and guest configuration script updates X-Git-Tag: danube.1.0~8^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kvmfornfv.git;a=commitdiff_plain;h=570d93ddbb5e5e54aec9a7c1faf0c24204229c59 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 --- 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