Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-29 Thread Roberto Aloi
Derek, I'm giving a try to your script. It seems exactly what I need. Regards, Roberto On Mon, Nov 28, 2011 at 10:23 PM, Derek Simkowiak wrote: > What I would love to do is to setup a "base" container which contains the OS > and the required > packages (the common part) and to create several -

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Derek Simkowiak
What I would love to do is to setup a "base" container which contains the OS and the required packages (the common part) and to create several - customizable - instances of this container. Roberto, My LXC creation script "lxc-ubuntu-x" has this feature. You can create any number of

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Ulli Horlacher
On Mon 2011-11-28 (19:09), Roberto Aloi wrote: > I like the idea. My only concern is how customizable a "clone" is (see > my second question). With aptitude: easy. Besides this you can extend my approch by setting up different templates (I have no need for this). > I need to start servers list

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Roberto Aloi
Ulli, Have you ever thought about wrapping your tool into a Chef recipe to be used with Vagrant? Roberto Aloi Please excuse the brevity of this email. Sent from an iPhone. On 28 Nov 2011, at 21:50, Roberto Aloi wrote: > It's a custom tcp server. And actually you're right. I could simply inst

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Roberto Aloi
It's a custom tcp server. And actually you're right. I could simply install the server in the container and then start it in each container with the port as a parameter. Roberto Aloi Please excuse the brevity of this email. Sent from an iPhone. On 28 Nov 2011, at 21:23, Ulli Horlacher wrote:

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Ulli Horlacher
On Mon 2011-11-28 (18:40), Roberto Aloi wrote: > When I say "customizable" I mean that I should be able to specify a port > number which a server running inside one of the containers should listen > to and this number should be different per each container. Would this be > feasible via LXC? This

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Андрей Григорьев
Oh, sorry, browser said that it is a binary file, and I believed in it. Now I see that it is perl script :-). 28.11.2011 21:53, Ulli Horlacher пишет: > On Mon 2011-11-28 (18:40), Roberto Aloi wrote: > >> I'm currently dealing with a pool of LXC containers which I use for >> sand-boxing purposes.

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Андрей Григорьев
What is that strange "lxc meta-tool"? Where are its sources located? 28.11.2011 21:53, Ulli Horlacher пишет: > On Mon 2011-11-28 (18:40), Roberto Aloi wrote: > >> I'm currently dealing with a pool of LXC containers which I use for >> sand-boxing purposes. Sometimes, when re-creating one of the >>

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Roberto Aloi
> You mix up creating with booting. Disclaimer: the *rebooting* above is just a typo. I understand the difference creating and booting. > You ceate new containers with debootstrap and running debootstrap several > times at the same time is not a good idea. > > My approach is another: I create ONC

Re: [Lxc-users] Creating multiple containers simultaneously

2011-11-28 Thread Ulli Horlacher
On Mon 2011-11-28 (18:40), Roberto Aloi wrote: > I'm currently dealing with a pool of LXC containers which I use for > sand-boxing purposes. Sometimes, when re-creating one of the > containers in the pool I obtain the following error: > > Error: "CREATE CONTAINER container-5\ndebootstrap is > /us