Re: [Lxc-users] LXC container templates

2012-09-05 Thread TuxRaiderPen
On Tuesday, September 04, 2012 13:15:59 Dan Kegel wrote: 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 might rip out the home directory sharing): Thanks... but I guess the problem

[Lxc-users] MySQL SSL and apparmor

2012-09-05 Thread TuxRaiderPen
I am trying to enable SSL for MySQL in my LAMP server container. I followed: https://mifosforge.jira.com/wiki/display/MIFOS/How+to+enable+MySQL+SSL+on+Ubuntu Went through all the key steps. But still no SSL... mysql show variables like %ssl%; +---++ |

Re: [Lxc-users] LXC container templates

2012-09-05 Thread Serge Hallyn
Quoting TuxRaiderPen (tuxraider...@wpascanner.com): On Tuesday, September 04, 2012 13:15:59 Dan Kegel wrote: 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 might rip out the home

Re: [Lxc-users] lxc-net.conf on ubuntu

2012-09-05 Thread Serge Hallyn
Quoting groupie (stopmakingse...@gmx.de): Hi Fajar, On 02.09.2012 12:44, Fajar A. Nugraha wrote: iptables -A POSTROUTING -s ${LXC_NETWORK} ! -d ${LXC_NETWORK} -t nat -j MASQUERADE This one I really do like! Smart! :) Thanks for bringing this up, guys. We've opened a bug and

Re: [Lxc-users] LXC container templates

2012-09-05 Thread Toens Bueker
Dan Kegel d...@kegel.com 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? I don't know, whether it fits here but maybe it would

Re: [Lxc-users] LXC container templates

2012-09-05 Thread TuxRaiderPen
On Wednesday, September 05, 2012 11:36:38 Serge Hallyn wrote: Quoting TuxRaiderPen (tuxraider...@wpascanner.com): Right. The package manager is there to do the setup like you want once you've The issue boils down to in *my view* template = ready to rock and roll and *NOT* something I need

[Lxc-users] Ephemeral disk space redux: adding --overlaydir option to lxc-start-ephemeral?

2012-09-05 Thread Dan Kegel
I see Florian asked this a few weeks ago: http://sourceforge.net/mailarchive/forum.php?thread_name=500ECF6C.5020709%40ubuntu.comforum_name=lxc-users I just hit the same problem. I had been hoping to install a bunch of packages inside the ephemeral container, and of course now I'm running out of

Re: [Lxc-users] LXC container templates

2012-09-05 Thread Dan Kegel
On Wed, Sep 5, 2012 at 3:12 PM, TuxRaiderPen tuxraider...@wpascanner.com wrote: The issue boils down to in *my view* template = ready to rock and roll and *NOT* something I need to tweak that much or at all or learn a bunch of other programs to use. Seems like role packages would help here. Is

Re: [Lxc-users] LXC container templates

2012-09-05 Thread Matthew Franz
So even though I think creating role-specific templates is a flawed approach new templates are not hard, just modify the existing lxc-ubuntu script with whatever commands need to be run in your environment or packages you need to install For example this new template created containers that

Re: [Lxc-users] Ephemeral disk space redux: adding --overlaydir option to lxc-start-ephemeral?

2012-09-05 Thread Dan Kegel
On Wed, Sep 5, 2012 at 3:25 PM, Dan Kegel d...@kegel.com wrote: I see Florian asked this a few weeks ago: So that's one more requirement discovered: I need lxc-start-ephemeral to support nontrivial amounts of disk storage, more than will fit in tmpfs. Maybe I'll add an argument --overlaydir