Add new comment

Submitted by kir (registered user) on Wed, 2008-07-09 03:24.

Also, regarding VE cloning you use -- you can achieve the same by packing the VE 2002 private area (/vz/private/2002) into a tarball and then using that tarball as a template, something similar to this:

tar czf /vz/template/cache/debian-4.0-amd64-mine.tar.gz -C /vz/private/2002

Next thing is to change the value of DEF_TEMPLATE in /etc/vz/vz.conf so you don't have to specify --ostemplate debian-4.0-amd64-mine each time you want to create a new VE based on your template.

Finally, a default config for new VE can be set using CONFIGFILE parameter in the same /etc/vz/vz.conf file.

Hope that helps.

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.