OpenVZ Forum


Home » General » Support » create openvz container (create openvz container)
Re: create openvz container [message #44568 is a reply to message #44534] Wed, 14 December 2011 22:30 Go to previous messageGo to previous message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
Not sure if this is related but templates must conform to a certain format.

Cut/paste from http://www.powerpbx.org/content/rhel-openvz-template-install-guide

From command line on the actual node.
Stop the container by typing vzctl stop $CTID.
Make sure you are in the /vz/private/$CTID folder.
cd /vz/private/$CTID

Finally, package up the new template by typing:
tar -czvf /vz/template/cache/centos-5-<ARCH>-<DISTRO>.tar.gz ./

"centos-5" can also be "centos-6" or "scientificlinux-6" or ? OpenVZ expects the format "OS + "-" + "version".
<ARCH> is also mandatory and MUST be one of the following:
i386, x86, x86_64

<DISTRO> can be whatever you want it to be.

The template is ready for use.
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: How about memory
Next Topic: Accidentally destroyed container
Goto Forum:
  


Current Time: Thu Aug 22 23:28:02 GMT 2024

Total time taken to generate the page: 0.03010 seconds