Re: OpenVZ template needs command after build? [message #51262 is a reply to message #51258] |
Thu, 27 March 2014 00:35 |
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
|
|
|