Re: [lxc-devel] gentoo container building fails during wget.

2015-02-24 Thread Guillaume ZITTA
I'm sorry. But until now, the default path is the one we set with ./configure And I didn't see "lxc.system.conf" nor "lxc.lxcpath" at https://linuxcontainers.org/lxc/news/ But let's be constructive ... People don't read all the docs, they open configuration files and modify defaults to their

[lxc-devel] [PATCH] Add information about patch submission

2015-02-21 Thread Guillaume ZITTA
Add information about patch submission Signed-off-by: Guillaume ZITTA --- content/lxc/contribute.md | 16 1 file changed, 16 insertions(+) diff --git a/content/lxc/contribute.md b/content/lxc/contribute.md index 5d33cd5..0f408b1 100644 --- a/content/lxc/contribute.md +++ b

[lxc-devel] [PATCH] enable sshd by default like other templates

2014-04-01 Thread Guillaume ZITTA
enable sshd by default like other templates Signed-off-by: Guillaume ZITTA --- templates/lxc-gentoo.in | 9 + 1 file changed, 9 insertions(+) diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in index de427dd..398987c 100644 --- a/templates/lxc-gentoo.in +++ b/templates/lxc

[lxc-devel] [PATCH] lxc-gentoo, fix lack of any generated locale

2014-04-01 Thread Guillaume ZITTA
fix lack of any generated locale Signed-off-by: Guillaume ZITTA --- templates/lxc-gentoo.in | 11 +++ 1 file changed, 11 insertions(+) diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in index de427dd..d975f78 100644 --- a/templates/lxc-gentoo.in +++ b/templates/lxc

[lxc-devel] [PATCH] fix lxc-console not working by default

2014-04-01 Thread Guillaume ZITTA
fix lxc-console not working by default Signed-off-by: Guillaume ZITTA --- templates/lxc-gentoo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in index a5aee2e..de427dd 100644 --- a/templates/lxc-gentoo.in +++ b/templates/lxc

[lxc-devel] lxc-console problem with 0 tty but "the console"

2014-04-01 Thread Guillaume ZITTA
"-t 1" fails My favorite, it's a pitty to fail when there is a working console. I don't know how to do it, but I'll figure out. - patch lxc-gentoo template to provide at least 1 additionnal tty Easy but, not my favorite What do you think ? Guillaume ZITTA ___

[lxc-devel] [PATCH] gentoo template

2014-01-11 Thread Guillaume ZITTA
Template for Gentoo Linux Signed-off-by: gza --- configure.ac| 1 + templates/Makefile.am | 3 +- templates/lxc-gentoo.in | 864 3 files changed, 867 insertions(+), 1 deletion(-) create mode 100644 templates/lxc-gentoo.in di

[lxc-devel] [PATCH] hwaddr templating

2014-01-06 Thread Guillaume ZITTA
This change introduce mac address templating. By setting lxc.network.hwaddr to something like fe:xx:xx:xx:xx:xx each "x" will be replaced by a random value. If less significant bit of first byte is "templated", it will be set to 0. This chage introduce also a common randinit() function that coul

Re: [lxc-devel] hwaddr tuning in templates

2013-12-30 Thread Guillaume ZITTA
Le 26/12/2013 17:12, Guillaume ZITTA a écrit : If not, my proposal: I set an incomplete (prefix) lxc.network.hwaddr in default conf. lxc-create complete it randomly and write it to the container's config. Does it make sense? I think so. Just 'xx' in place of real numb

[lxc-devel] Beta: LXC template for gentoo

2013-12-27 Thread Guillaume ZITTA
Hi, I'm working on lxc-gentoo template. https://github.com/gza/lxc-gentoo-template It needs more testing before asking for mainline inclusion, but it mostly works. So posting if some interesting in testing with me. Regards, Guillaume

Re: [lxc-devel] hwaddr tuning in templates

2013-12-26 Thread Guillaume ZITTA
perhaps I should try ... Guillaume ZITTA Please be kind, it's the second time I do "C" of my life :) Note about randinit(): that kind of util can be used in network.c/lxc_mkifname() and lxccontainer.c/new_hwaddr() It works for me, I did 1000 destroy/create (with fake template) in 43

Re: [lxc-devel] hwaddr tuning in templates

2013-12-24 Thread Guillaume ZITTA
Le 24/12/2013 15:32, Stéphane Graber a écrit : On Tue, Dec 24, 2013 at 03:01:38PM +0100, Guillaume ZITTA wrote: Hi, I'm coding a new template (for gentoo). I saw this kind of tweak in many templates : if [ "$nics" -eq 1 ] && ! grep -q "^lxc.networ

[lxc-devel] hwaddr tuning in templates

2013-12-24 Thread Guillaume ZITTA
ot; >> $path/config fi The url no longer exists and I didn't catch the explaination in ML archive. Someone has a new pointer to the explaination? Was it a workaround for a no longuer existing bug? Regards, Guillaume ZITTA ___ lxc-d