OpenVZ Forum


Home » General » Support » OpenVZ template needs command after build?
Re: OpenVZ template needs command after build? [message #51262 is a reply to message #51258] Thu, 27 March 2014 00:35 Go to previous message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
If I understand you correctly, you need to permanently change an existing template so that old .pid files aren't there and the vncserver service is set to start at boot.

What I would do is simply:
- create a temporary VM with this template, start it
- vzctl enter VMID
- delete the old .pid files, set the vncserver service to start at boot (chkconfig ...)
- exit and stop the VM.

Archive the /vz/private/<VMID> as a new template (give it your name if you wish, etc.) and use it from now on as your starting template. You can now of course delete the temporary VM if you wish.

A similar procedure is described here:
http://wiki.openvz.org/Fedora_template_update
 
Read Message
Read Message
Previous Topic: OpenVZ kernel for Squeeze
Next Topic: How to rebuild VM from other OSTEMPLATE?
Goto Forum:
  


Current Time: Wed Sep 04 04:25:34 GMT 2024

Total time taken to generate the page: 0.05296 seconds