[lxc-devel] [PATCH] fix open check (0 is a valid fd)

2012-12-31 Thread Dwight Engen
Signed-off-by: Dwight Engen --- src/lxc/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/console.c b/src/lxc/console.c index 73bec78..c3f892b 100644 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -145,7 +145,7 @@ static int get_default_console(char **conso

[lxc-devel] [PATCH 3/5] lxc-alpine: add --repository option

2012-12-31 Thread Natanael Copa
This allows specifying what repository to use for the container. Signed-off-by: Natanael Copa --- templates/lxc-alpine.in | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 7787e75..87886f5 100644 --- a/templates/

[lxc-devel] [PATCH 2/5] lxc-alpine: indent fixes

2012-12-31 Thread Natanael Copa
Signed-off-by: Natanael Copa --- templates/lxc-alpine.in | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 6f7c90d..7787e75 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @

[lxc-devel] [PATCH 5/5] lxc-alpine: add support for installing optional packages

2012-12-31 Thread Natanael Copa
Let users append a list of packages they want install in the container Signed-off-by: Natanael Copa --- templates/lxc-alpine.in | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 5b685b1..b06215f 100644 --- a/te

[lxc-devel] [PATCH 4/5] lxc-alpine: add support for setting arch from command line

2012-12-31 Thread Natanael Copa
This allows us to lxc-create 32 bit guests on x86_64 hosts. Signed-off-by: Natanael Copa --- templates/lxc-alpine.in | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 87886f5..5b685b1 100644 -

[lxc-devel] [PATCH 1/5] templates: install lxc-alpine

2012-12-31 Thread Natanael Copa
Make sure we actually install lxc-alpine Signed-off-by: Natanael Copa --- templates/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/Makefile.am b/templates/Makefile.am index 9a94f32..be7e9f6 100644 --- a/templates/Makefile.am +++ b/templates/Makefile.a