OpenVZ Forum


Home » General » Support » question about copying container (container creation)
Re: question about copying container [message #48755 is a reply to message #48750] Sat, 17 November 2012 01:03 Go to previous messageGo to previous message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
What amissus explained is basically this - you can use an existing precreated OS template to make the first container, start it up, make all needed modifications (if you need to) and than save it as an OS template again. And than use it for the next 299, of course.

OpenVZ has an extensive wiki and this is explained here:

http://wiki.openvz.org/Fedora_template_update
http://wiki.openvz.org/Updating_Debian_template

Besides the OS template, all a container needs is a textual configuration file. If you want to generate containers and later modify all 299 or 300 of them automatically, a little bash scripting (or python, perl, whatever floats your boat) will do the job just nicely, directly or by using vzctl in your script.

[Updated on: Sat, 17 November 2012 01:06]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why does my total memory used not match all process rss sum?
Next Topic: Host CPU system time keep growing
Goto Forum:
  


Current Time: Sun Oct 06 07:16:00 GMT 2024

Total time taken to generate the page: 0.04065 seconds