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 stgra...@ubuntu.com 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:

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 kaj.w...@iki.fi 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-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 serge.hal...@canonical.com wrote: Quoting Fajar A. Nugraha (l...@fajar.net): # cat /etc/init/lxc-lo.conf start on startup env container pre-start

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 serge.hal...@canonical.com wrote: Quoting Fajar A. Nugraha (l...@fajar.net): # cat

[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

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=lo exit

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; fi initctl start

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 serge.hal...@canonical.com 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 10:31 PM, Fajar A. Nugraha wrote: On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn serge.hal...@canonical.com 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