Re: [Lxc-users] lxc-execute-ephemeral-repeatedly ?

2012-09-04 Thread Dan Kegel
On Tue, Aug 28, 2012 at 2:07 PM, Dan Kegel wrote: > Well, that was anticlimactic. Here's the script, for what it's worth. But wait, there's more. This script tries to clean up after itself when you kill it, and it fails miserably. And after some investigation, it turns out that lxc-start-ephem

Re: [Lxc-users] LXC container templates

2012-09-04 Thread Dan Kegel
On Tue, Sep 4, 2012 at 9:31 AM, TuxRaiderPen wrote: > I am looking for something that fills in like: > > lxc-create -t ubuntu-lamp -n LAMPServer How about using a vanilla (jeos-like) template, but then running a small shell script for the role in question? Here's what I do at the moment (later I

Re: [Lxc-users] LXC container templates

2012-09-04 Thread TuxRaiderPen
On Tuesday, September 04, 2012 08:11:41 Matthew Franz wrote: > Without sparking a golden image vs. os template debate, you would be better > off using a something like Chef/Puppet/SaltStack to drive those different > application server roles than hardcoding them in the template. Just put > enough i

Re: [Lxc-users] LXC container templates

2012-09-04 Thread Ben Butler-Cole
On 4 September 2012 13:11, Matthew Franz wrote: > Without sparking a golden image vs. os template debate, you would be better > off using a something like Chef/Puppet/SaltStack to drive those different > application server roles than hardcoding them in the template. I agree with this. Juju is pro

Re: [Lxc-users] LXC container templates

2012-09-04 Thread Matthew Franz
Without sparking a golden image vs. os template debate, you would be better off using a something like Chef/Puppet/SaltStack to drive those different application server roles than hardcoding them in the template. Just put enough in the template to bootstrap the node and have your configuration mana