<div dir="ltr">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.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 28, 2014 at 2:36 PM, Matt <span dir="ltr"><<a href="mailto:matt.mailinglists@gmail.com" target="_blank">matt.mailinglists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I see:<br>
<br>
[root]# rpm -qa |grep kern<br>
kernel-2.6.32-431.11.2.el6.x86_64<br>
vzkernel-2.6.32-042stab088.4.x86_64<br>
vzkernel-2.6.32-042stab090.3.x86_64<br>
vzkernel-2.6.32-042stab092.1.x86_64<br>
vzkernel-2.6.32-042stab092.3.x86_64<br>
dracut-kernel-004-336.el6_5.2.noarch<br>
kernel-2.6.32-431.5.1.el6.x86_64<br>
kernel-2.6.32-431.17.1.el6.x86_64<br>
kernel-2.6.32-431.20.3.el6.x86_64<br>
vzkernel-2.6.32-042stab092.2.x86_64<br>
kernel-firmware-2.6.32-431.20.5.el6.noarch<br>
kernel-2.6.32-431.20.5.el6.x86_64<br>
<br>
So would it be safe to do.<br>
<br>
yum erase kernel<br>
<br>
???<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On Mon, Jul 28, 2014 at 4:09 PM, Scott Dowdle <<a href="mailto:dowdle@montanalinux.org">dowdle@montanalinux.org</a>> wrote:<br>
> Greetings,<br>
><br>
> ----- Original Message -----<br>
>> I have OpenVZ installed on CentOS 6.x following this guide.<br>
>><br>
>> <a href="https://openvz.org/Quick_Installation_CentOS_6" target="_blank">https://openvz.org/Quick_Installation_CentOS_6</a><br>
>><br>
>> Everytime CentOS releases a new kernel it replaces the OpenVZ kernel<br>
>> as first boot option. Is there anyway around this other then editing<br>
>> the boot order manually after running yum update?<br>
><br>
> 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.<br>
><br>
> TYL,<br>
> --<br>
> Scott Dowdle<br>
> 704 Church Street<br>
> Belgrade, MT 59714<br>
> <a href="tel:%28406%29388-0827" value="+14063880827">(406)388-0827</a> [home]<br>
> <a href="tel:%28406%29994-3931" value="+14069943931">(406)994-3931</a> [work]<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> <a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>