[Lxc-users] lxc-ubuntu: Only replace i386 by i686 in lxc's config, otherwise debootstrap will fail

Serge Hallyn serge.hallyn at canonical.com
Thu Jun 23 21:09:00 UTC 2011


Quoting Stéphane Graber (stgraber at ubuntu.com):
> Unless I missed something, the following commits should be good to
> apply:
>  - [PATCH 1/2] lxc-create: pass remaining args to templates
>  - [PATCH 2/2] templates: consolidate and extend ubuntu templates
> 
> Then, the following should be fixed:
>  - [PATCH 3/2] lxc-ubuntu template: set lxc.arch in config

Yup,

> And then the following should apply fine:
>  - lxc-ubuntu: Base arch detection code on debootstrap's with some
> additions when we don't have dpkg or udpkg
>  - lxc-ubuntu: Default to current ubuntu release. If can't match any
> valid release, use lucid.
> 
> Dropping:
>  - lxc-ubuntu: Only replace i386 by i686 in lxc's config, otherwise
> debootstrap will fail
> 
> And finally drop the 'if [ "$arch" = "" ]' so we ignore what's in the
> environment.
> 
> Sounds good? Did I miss something?

Sounds good.  And then let's add better help like you suggested, and
-i.

I'm trying to nail a few other bugs right now (and get cgroups-bin
interaction working next).  I'll do this after that if you like, or
if you want to do it now, that'd rock.

-serge




More information about the lxc-users mailing list