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
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
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
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
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
"-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
___
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
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
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
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
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
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
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
13 matches
Mail list logo