OpenVZ Forum


Home » General » Discussions » What's the correct way to install OpenVZ via kickstart
Re: What's the correct way to install OpenVZ via kickstart [message #51490 is a reply to message #51489] Wed, 25 June 2014 14:04 Go to previous messageGo to previous message
PeterSteele is currently offline  PeterSteele
Messages: 5
Registered: February 2014
Location: United States
Junior Member
My approach is a little different. I create a custom iso with just the packages that I want to include, basically a minimal CentOS install plus a few extra packages. I then turn the iso into a bootable USB stick. We have to assume the installation process may not have external web access so everything has to be on the stick.

I now want to include the OpenVZ kernel (and the related vz tools) instead of the stock kernel but I don't see a way to do this directly. What I am doing is letting the install run as normal, which installs the stock kernel, then in the %post session I have code that installs the OpenVZ rpms. This updates the bootloader config so that when the system boots the OpenVZ kernel is loaded like I need. But I actually have two kernels installed and two entries in grub.conf. It works but it's a bit ugly. I'd rather just have the OpenVZ kernel installed, replacing the stock kernel, but I don't see how I can do this via kickstart.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Considering moving from Docker to OpenVZ
Next Topic: Why Systemd?
Goto Forum:
  


Current Time: Fri Aug 29 11:18:01 GMT 2025

Total time taken to generate the page: 0.13989 seconds