[lxc-devel] [PATCH 2/3] lxc-create: fix the typo in help info

2013-06-02 Thread Qiang Huang
Fix typo in help info of lxc-create, and get rid of duplicate comments in bdev.h Signed-off-by: Qiang Huang --- src/lxc/bdev.h | 2 +- src/lxc/lxc_create.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/bdev.h b/src/lxc/bdev.h index 7b60d95..4f27ea9 100644 -

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

2013-06-02 Thread Qiang Huang
We should return -ENOMEM instead of ENOMEM when realloc fails. Signed-off-by: Qiang Huang --- src/lxc/arguments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/arguments.c b/src/lxc/arguments.c index 5f1c1af..8a8d306 100644 --- a/src/lxc/arguments.c +++ b/src/lxc/ar

[lxc-devel] [PATCH 3/3] lxc-destroy: fix the wrong help info of lxc-destroy

2013-06-02 Thread Qiang Huang
Signed-off-by: Qiang Huang --- src/lxc/lxc_destroy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxc_destroy.c b/src/lxc/lxc_destroy.c index 686b303..07c7408 100644 --- a/src/lxc/lxc_destroy.c +++ b/src/lxc/lxc_destroy.c @@ -50,7 +50,7 @@ static struct lxc_argumen

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

2013-06-02 Thread lxc
This can do the job for archlinux: https://raw.github.com/tokland/arch-bootstrap/master/arch-bootstrap.sh On 06/02/13 23:06, Michael H. Warfield wrote: > A recent threat on the lxc-users reminded me that I'm lacking a few > templates for testing under LXC. OpenVZ has a number of prebuilt > conta

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

2013-06-02 Thread Michael H. Warfield
A recent threat on the lxc-users reminded me that I'm lacking a few templates for testing under LXC. OpenVZ has a number of prebuilt containers (like CentOS) for download which some people (myself) have used to create containers where we don't have prebuilt templates or the lxc-templates we have d