This patch includes host and guest configuration script updates 53/29753/1
authorkalyanreddy <reddyx.gundarapu@intel.com>
Fri, 3 Mar 2017 20:20:54 +0000 (12:20 -0800)
committerkalyanreddy <reddyx.gundarapu@intel.com>
Fri, 3 Mar 2017 20:25:37 +0000 (12:25 -0800)
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>
ci/envs/guest-setup0.sh
ci/envs/host-setup0.sh

index 301d34c..fb3133b 100755 (executable)
@@ -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
index 0778aae..1bd7f12 100755 (executable)
@@ -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