[lxc-devel] [PATCH] implement loopback backing store

2013-06-03 Thread Serge Hallyn
Create a loopfile backed container by doing: lxc-create -B loop -t template -n name or lxc-clone -B loop -o dir1 -n loop1 The rootfs in the configuration file will be loop:/var/lib/lxc/loop1/rootdev Signed-off-by: Serge Hallyn --- doc/lxc-clone.sgml.in | 2 +- doc

Re: [lxc-devel] [PATCH v2] lxc-alpine: download a static package manager if its missing

2013-06-03 Thread Serge Hallyn
Quoting Natanael Copa (nc...@alpinelinux.org): > On Mon, 3 Jun 2013 08:57:11 -0500 > Serge Hallyn wrote: > > > Quoting Natanael Copa (nc...@alpinelinux.org): > > > On Wed, 29 May 2013 15:03:50 -0500 > > > Serge Hallyn wrote: > > > > > > > Quoting Natanael Copa (nc...@alpinelinux.org): > > > > >

Re: [lxc-devel] [PATCH 1/3] arguments: should return negative number when error happens

2013-06-03 Thread Serge Hallyn
Quoting Qiang Huang (h.huangqi...@huawei.com): > We should return -ENOMEM instead of ENOMEM when realloc fails. > > Signed-off-by: Qiang Huang Acked-by: Serge E. Hallyn to all three. I will fix the typo you introduced in 3/3 inline. thanks, -serge > --- > src/lxc/arguments.c | 2 +- > 1 fi

Re: [lxc-devel] Anyone with some prebuilt templates laying around they could share?

2013-06-03 Thread Michael H. Warfield
On Mon, 2013-06-03 at 00:24 +0200, l...@usr.fi wrote: > This can do the job for archlinux: > https://raw.github.com/tokland/arch-bootstrap/master/arch-bootstrap.sh Nice. That got me really really close. After running that I found I had to do a few more steps while chrooted in the new rootfs.

Re: [lxc-devel] [PATCH v2] lxc-alpine: download a static package manager if its missing

2013-06-03 Thread Natanael Copa
On Mon, 3 Jun 2013 08:57:11 -0500 Serge Hallyn wrote: > Quoting Natanael Copa (nc...@alpinelinux.org): > > On Wed, 29 May 2013 15:03:50 -0500 > > Serge Hallyn wrote: > > > > > Quoting Natanael Copa (nc...@alpinelinux.org): > > > > If the package manager, apk-tools is missing, then: > > > > - d

Re: [lxc-devel] [PATCH v2] lxc-alpine: download a static package manager if its missing

2013-06-03 Thread Serge Hallyn
Quoting Natanael Copa (nc...@alpinelinux.org): > On Wed, 29 May 2013 15:03:50 -0500 > Serge Hallyn wrote: > > > Quoting Natanael Copa (nc...@alpinelinux.org): > > > If the package manager, apk-tools is missing, then: > > > - download a static binary and public keys > > > - verify the keys again

Re: [lxc-devel] Container autostart proposal V2

2013-06-03 Thread Natanael Copa
On Tue, 28 May 2013 17:36:09 -0400 Dwight Engen wrote: > On Tue, 28 May 2013 17:03:43 -0400 > Stéphane Graber wrote: ... > > The command line parameter (-g) is comma separate however. So commas > > should be documented as invalid for a group name and so is "any" which > > is a special group matc

Re: [lxc-devel] [PATCH v2] lxc-alpine: download a static package manager if its missing

2013-06-03 Thread Natanael Copa
On Wed, 29 May 2013 15:03:50 -0500 Serge Hallyn wrote: > Quoting Natanael Copa (nc...@alpinelinux.org): > > If the package manager, apk-tools is missing, then: > > - download a static binary and public keys > > - verify the keys against embedded checksum > > - verify the signature of the stati