Re: [Lxc-users] lxc-ubuntu: Default to current ubuntu release. If can't match any valid release, use lucid.

2011-06-23 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com My thought (which I meant to point out in the help output) was that we should default to the latest LTS. lucid for now, 12.04 when it comes out. What do you think? If you think it's better to

Re: [Lxc-users] lxc-ubuntu: Default to current ubuntu release. If can't match any valid release, use lucid.

2011-06-23 Thread Stéphane Graber
On Thu, 2011-06-23 at 11:13 -0500, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com My thought (which I meant to point out in the help output) was that we should default to the latest LTS. lucid for now, 12.04 when it

Re: [Lxc-users] lxc-ubuntu: Default to current ubuntu release. If can't match any valid release, use lucid.

2011-06-23 Thread Stéphane Graber
On Thu, 2011-06-23 at 13:27 -0400, Stéphane Graber wrote: On Thu, 2011-06-23 at 11:13 -0500, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com My thought (which I meant to point out in the help output) was that we

Re: [Lxc-users] lxc-ubuntu: Base arch detection code on debootstrap's with some additions when we don't have dpkg or udpkg

2011-06-23 Thread Stéphane Graber
On Thu, 2011-06-23 at 11:19 -0500, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-ubuntu.in | 24 ++-- 1 files changed, 18 insertions(+), 6 deletions(-) diff --git

Re: [Lxc-users] [PATCH 3/2] lxc-ubuntu template: set lxc.arch in config

2011-06-23 Thread Serge E. Hallyn
Gah! Wrong patch. Here is the right one. Sorry about that. Subject: [PATCH 3/2] lxc-ubuntu template: set lxc.arch in config Otherwise the container works fine, except uname -a reports x86_64, not i686. And unfortunately debootstrap and lxc.arch each accept only the opposite of each other

Re: [Lxc-users] lxc-ubuntu: Default to current ubuntu release. If can't match any valid release, use lucid.

2011-06-23 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): On Thu, 2011-06-23 at 11:13 -0500, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com My thought (which I meant to point out in the help output) was that we should

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

2011-06-23 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@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: -

[Lxc-users] [PATCH 5/2] lxc-ubuntu: always install lxcguest in postprocess

2011-06-23 Thread Serge E. Hallyn
Argh, sorry. But this is it. Now it works again :) Now I'm going to stop with patches for a bit, and just keep stuff in https://code.launchpad.net/~serge-hallyn/ubuntu/oneiric/lxc/update-templates/ Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com --- templates/lxc-ubuntu.in |6 +-

Re: [Lxc-users] [PATCH] lxc-destroy: delete a rootfs if it is an lvm volume

2011-06-23 Thread Daniel Lezcano
On 06/21/2011 12:51 AM, Serge E. Hallyn wrote: If this is acceptable as is, then I'll try to get a simple lxc-clone out tomorrow (taking into account your comments from last time). Signed-off-by: Serge Hallynserge.hal...@ubuntu.com --- Applied.

[Lxc-users] [PATCH 1/4] templates: consolidate and extend ubuntu templates

2011-06-23 Thread Serge Hallyn
Consolidate lucid, maverick, natty, and oneiric templates into one 'ubuntu' template. Add support for specifying architecture. Add support for '--trim|-x' option, which removes services like the lucid template used to. This creates smaller, faster-booting containers, but they will not be safe

[Lxc-users] [PATCH 4/4] Clarify the template-specific options a bit in lxc-create's help

2011-06-23 Thread Serge Hallyn
This does not supplant the need for a manpage, but it's a start. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com --- src/lxc/lxc-create.in | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in index