No change to the grub default setting 17/5617/1
authorYunhong Jiang <yunhong.jiang@linux.intel.com>
Wed, 6 Jan 2016 03:29:18 +0000 (19:29 -0800)
committerYunhong Jiang <yunhong.jiang@linux.intel.com>
Wed, 6 Jan 2016 03:32:47 +0000 (19:32 -0800)
The kernel rpm installation on rehl/centos is using grubby to setup the
default kernel entry, so we should not change the grub default set from
saved to 0.

Change-Id: I5910f498f5889c052e43d2e1e92b209c05b01455
Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
ci/envs/host-setup0.sh

index eeb91c1..79d1f58 100755 (executable)
@@ -70,7 +70,6 @@ config_grub 'idle' 'poll'
 ## Disable clocksource verification at runtime
 config_grub 'tsc' 'reliable'
 
-sed -i s/GRUB_DEFAULT=saved/GRUB_DEFAULT=0/ /etc/default/grub
 grub2-mkconfig -o /boot/grub2/grub.cfg
 
 install_kernel