Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-15 Thread Kaj Wiik
On Thu, Mar 15, 2012 at 6:37 PM, Kaj Wiik wrote: > Any ideas? Has anyone managed to run cups in a container built using > lxc-create? I confirm that cups works without any problem in an Ubuntu 12.04 container created using lxc-create. (sorry to reply to myself...) Cheers, Kaj -

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-15 Thread Kaj Wiik
Hi! On Wed, Mar 7, 2012 at 8:16 PM, Stéphane Graber wrote: > My goal for 12.04 was to make a perfectly clean and standard Ubuntu > system work in a container without any change whatsoever and I think > we achieved this: > http://www.stgraber.org/2012/03/04/booting-an-ubuntu-12-04-virtual-machine

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-07 Thread Thaddeus Hogan
On 3/7/2012 12:16 PM, Stéphane Graber wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 03/06/2012 11:03 PM, Fajar A. Nugraha wrote: >> On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn >> wrote: >>> Quoting Fajar A. Nugraha (l...@fajar.net): # cat /etc/init/lxc-lo.conf start on

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-07 Thread Stéphane Graber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/06/2012 11:03 PM, Fajar A. Nugraha wrote: > On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn > wrote: >> Quoting Fajar A. Nugraha (l...@fajar.net): >>> # cat /etc/init/lxc-lo.conf start on startup env container >>> >>> pre-start script if [ "x$

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Thaddeus Hogan
On 3/6/2012 10:31 PM, Fajar A. Nugraha wrote: > On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn > wrote: >> If your guest is uptodate 12.04, you should have >> >> /etc/init/network-interface-container.conf >> >> from ifupdownpackage which emits that signal for you. You shouldn't need >> your own l

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Fajar A. Nugraha
On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn wrote: > If your guest is uptodate 12.04, you should have > > /etc/init/network-interface-container.conf > > from ifupdownpackage which emits that signal for you.  You shouldn't need > your own lxc-lo.conf any more. Just tried it btw. Awesome. "lxc-c

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Fajar A. Nugraha
On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn wrote: > Quoting Fajar A. Nugraha (l...@fajar.net): >> # cat /etc/init/lxc-lo.conf >> start on startup >> env container >> >> pre-start script >>         if [ "x$container" != "xlxc" -a "x$container" != "xlibvirt" ]; >> then >>                 stop; >>

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Thaddeus Hogan
On 3/6/2012 9:45 PM, Serge Hallyn wrote: > Quoting Fajar A. Nugraha (l...@fajar.net): >> # cat /etc/init/lxc-lo.conf >> start on startup >> env container >> >> pre-start script >> if [ "x$container" != "xlxc" -a "x$container" != "xlibvirt" ]; >> then >> stop; >> f

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Serge Hallyn
Quoting Fajar A. Nugraha (l...@fajar.net): > # cat /etc/init/lxc-lo.conf > start on startup > env container > > pre-start script > if [ "x$container" != "xlxc" -a "x$container" != "xlibvirt" ]; > then > stop; > fi > initctl start network-interface INTERFACE=

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Serge Hallyn
Quoting thadd...@thogan.com (thadd...@thogan.com): > I have been preparing to move a bunch of dev VMs running Ubuntu 10.04 on KVM > to 12.04 on LXC after the release next month. > > I am currently testing with the 12.04 beta build and have had good luck > getting everything up and running. Howev

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Fajar A. Nugraha
Forwarding to the list, plus some comments. On Wed, Mar 7, 2012 at 3:17 AM, thadd...@thogan.com wrote: >> Do you mean you'll be using 10.04 or 12.04 inside the container? > I am testing 12.04 guests on a 12.04 host. Thankfully with the help of a > very complete chef installation, it won't take

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread Fajar A. Nugraha
On Wed, Mar 7, 2012 at 2:17 AM, thadd...@thogan.com wrote: > I have been preparing to move a bunch of dev VMs running Ubuntu 10.04 on KVM > to 12.04 on LXC after the release next month. Do you mean you'll be using 10.04 or 12.04 inside the container? > > I am currently testing with the 12.04 bet

[Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-06 Thread thadd...@thogan.com
I have been preparing to move a bunch of dev VMs running Ubuntu 10.04 on KVM to 12.04 on LXC after the release next month. I am currently testing with the 12.04 beta build and have had good luck getting everything up and running. However I am still making numerous changes to the upstart scripts to