Re: question about copying container [message #48755 is a reply to message #48750] |
Sat, 17 November 2012 01:03 |
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
|
|
|