[Users] OpenVZ Kernel

Kir Kolyshkin kir at openvz.org
Mon Jul 28 14:02:07 PDT 2014


On 07/28/2014 01:46 PM, Matt wrote:
> 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?
>

Add

exclude=kernel kernel-firmware
to /etc/yum.repos.d/CentOS*.repo
(ideally to every section, but practically [updates] should be enough).

In addition, you have to comment out the
exclude=vzkernel-firmware
line in /etc/yum.conf.d/openvz.repo, i.e. make it
# exclude = vzkernel-firmware

Kir.


More information about the Users mailing list