Ofc yum is perfectly happy with removing "kernel" package, as long there
is still any package in the system providing "kernel", which "vzkernel"
does.
You just need to know that you can't erase the kernel you're currently
running.

/snajpa

On 07/29/2014 12:03 AM, jjs - mainphrame wrote:
> Yum might not be happy erasing the kernel - I'd just disable centos
> kernel updates in the yum config. I also find it useful to be able to
> boot into a vanilla centos kernel for testing - just in case.
> 
> 
> On Mon, Jul 28, 2014 at 2:36 PM, Matt <matt.mailingli...@gmail.com
> <mailto:matt.mailingli...@gmail.com>> wrote:
> 
>     I see:
> 
>     [root]# rpm -qa |grep kern
>     kernel-2.6.32-431.11.2.el6.x86_64
>     vzkernel-2.6.32-042stab088.4.x86_64
>     vzkernel-2.6.32-042stab090.3.x86_64
>     vzkernel-2.6.32-042stab092.1.x86_64
>     vzkernel-2.6.32-042stab092.3.x86_64
>     dracut-kernel-004-336.el6_5.2.noarch
>     kernel-2.6.32-431.5.1.el6.x86_64
>     kernel-2.6.32-431.17.1.el6.x86_64
>     kernel-2.6.32-431.20.3.el6.x86_64
>     vzkernel-2.6.32-042stab092.2.x86_64
>     kernel-firmware-2.6.32-431.20.5.el6.noarch
>     kernel-2.6.32-431.20.5.el6.x86_64
> 
>     So would it be safe to do.
> 
>     yum erase kernel
> 
>     ???
> 
> 
> 
> 
>     On Mon, Jul 28, 2014 at 4:09 PM, Scott Dowdle
>     <dow...@montanalinux.org <mailto:dow...@montanalinux.org>> wrote:
>     > Greetings,
>     >
>     > ----- Original Message -----
>     >> I have OpenVZ installed on CentOS 6.x following this guide.
>     >>
>     >> https://openvz.org/Quick_Installation_CentOS_6
>     >>
>     >> Everytime CentOS releases a new kernel it replaces the OpenVZ kernel
>     >> as first boot option.  Is there anyway around this other then editing
>     >> the boot order manually after running yum update?
>     >
>     > What I've done is to just remove the stock CentOS kernel because
>     what isn't installed doesn't get updated.  You could also make it an
>     exclude in the /etc/yum.conf if desired.
>     >
>     > TYL,
>     > --
>     > Scott Dowdle
>     > 704 Church Street
>     > Belgrade, MT 59714
>     > (406)388-0827 <tel:%28406%29388-0827> [home]
>     > (406)994-3931 <tel:%28406%29994-3931> [work]
>     > _______________________________________________
>     > Users mailing list
>     > Users@openvz.org <mailto:Users@openvz.org>
>     > https://lists.openvz.org/mailman/listinfo/users
>     _______________________________________________
>     Users mailing list
>     Users@openvz.org <mailto:Users@openvz.org>
>     https://lists.openvz.org/mailman/listinfo/users
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 

_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to