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 #52815 is a reply to message #51477] Tue, 25 April 2017 22:24 Go to previous message
azilber is currently offline  azilber
Messages: 15
Registered: May 2015
Location: Malaysia
Junior Member
PeterSteele wrote on Tue, 24 June 2014 16:13
I have a streamlined CentOS install that's automated through the kickstart facility. I want my custom image to use the OpenVZ kernel instead of the default CentOS kernel. I'm not sure what the correct way is to do this.

My current kickstart script does not explicitly reference which kernel files are installed. This is handled automatically by the @core entry in the %packages section:

%packages --nobase
@core

I know I can add code in %post to install the kickstart kernel as one of the final stages of the kickstart install process. Is this the best way?


I'm going to un-necro this thread.. if you install OpenVZ manually, you can look into /root/anaconda-ks.cfg.

I've tested kickstarts of OpenVZ via Koan/Cobbler. Here's my package list for OpenVZ 7:

%packages
@^cloudserver
@base
@core
@ps
@qemu
@templates
@vz
chrony
kexec-tools

%end

 
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:28:20 GMT 2025

Total time taken to generate the page: 0.10107 seconds