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

2011-06-22 Thread Serge E. Hallyn
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 (i386 vs i686) :) Signed-off-by: Serge Hallyn --- templates/lxc-ubuntu.in |9 +++-- 1 files changed, 7 insertions(+), 2 de

[Lxc-users] [PATCH 1/1] lxc-ubuntu template: add /dev/fuse to the whitelist

2011-06-22 Thread Serge E. Hallyn
Signed-off-by: Serge Hallyn --- templates/lxc-ubuntu.in |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index e1a6a45..0b68e84 100644 --- a/templates/lxc-ubuntu.in +++ b/templates/lxc-ubuntu.in @@ -192,6 +192,8 @@ lxc.cg

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

2011-06-22 Thread Serge E. 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 wi

[Lxc-users] [PATCH 1/2] lxc-create: pass remaining args to templates

2011-06-22 Thread Serge E. Hallyn
This way I can do lxc-create -t ubuntu -f /etc/lxc.conf -n u1 -- -x and have -x passed to the template Signed-off-by: Serge Hallyn --- src/lxc/lxc-create.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in index 160

Re: [Lxc-users] [PATCH 1/1] Add lxc-clone script

2011-06-22 Thread Serge Hallyn
Actually, perhaps this is better integrated into the templates. I'm working on consolidating and extending the ubuntu templates into one, and it looks like maybe it's better to put the cloning stuff into that. Though it makes the create command syntax all the more baroque, which I don't like. Bu