Forwarding to the list, plus some comments.

On Wed, Mar 7, 2012 at 3:17 AM, thadd...@thogan.com <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 long to rebuild all of the
> guests instead of trying to migrate them.
>
> The issue I ran into with the linux-container package was that
> networking.conf would not emit static-network-up, and also udev was still
> loading. The package corrected the behavior of umountroot running on
> shutdown, but an apt-get upgrade caused that script to be re-added to the
> shutdown sequence.
>
> My modifications included:
>
> /etc/init/networking.conf: change to just setup the gateway and emit
> static-network-up

You could add /etc/init/networking.override, so further changes to
networking.conf will not affect you.

> /etc/init.d/umountroot: remove body of do_stop()

Not sure about this one.

> /etc/init/udev*.conf: comment out start on lines

You mean disable udev? udev.override with a single line "manual"
should do the trick.

>
> With this done, everything seems to be working, and apt-get upgrade dosen't
> break any of the changes.

Can you share your changes?

I'm creating LXC recipes on http://wiki.1tux.org/wiki/Lxc/Installation
, so far only Centos5 container is almost complete. I'll use what
you've done so far for
http://wiki.1tux.org/wiki/Lxc/Installation/Guest/Ubuntu

Thanks.

Fajar

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to