Re: [lxc-devel] [PATCH] hwaddr templating (with fixes from comments 2)

2014-01-13 Thread Serge Hallyn
nm, I've just hand-applied it, sorry for the noise. Quoting Serge Hallyn (serge.hal...@ubuntu.com): > Hi, > > it seems thunderbird messed this patch up a bit. Could you please > send it to me privately as an attachment, or disable line wrap in > thunderbird for the sake of this patch? > > Other

Re: [lxc-devel] [PATCH] hwaddr templating (with fixes from comments 2)

2014-01-13 Thread Serge Hallyn
Hi, it seems thunderbird messed this patch up a bit. Could you please send it to me privately as an attachment, or disable line wrap in thunderbird for the sake of this patch? Otherwise I can hand-apply (reproduce it). -serge Quoting l...@zitta.fr (l...@zitta.fr): > > Le 07/01/2014 01:07, Ser

Re: [lxc-devel] [PATCH] hwaddr templating (with fixes from comments 2)

2014-01-13 Thread Serge Hallyn
Quoting l...@zitta.fr (l...@zitta.fr): > > Le 07/01/2014 01:07, Serge Hallyn a écrit : > > Quoting l...@zitta.fr (l...@zitta.fr): > >> 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 rando

Re: [lxc-devel] [PATCH] hwaddr templating (with fixes from comments 2)

2014-01-13 Thread Serge Hallyn
Quoting l...@zitta.fr (l...@zitta.fr): > > Le 07/01/2014 01:07, Serge Hallyn a écrit : > > Quoting l...@zitta.fr (l...@zitta.fr): > >> 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 rando

Re: [lxc-devel] [PATCH] hwaddr templating (with fixes from comments 2)

2014-01-11 Thread lxc
Le 07/01/2014 01:07, Serge Hallyn a écrit : > Quoting l...@zitta.fr (l...@zitta.fr): >> 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

Re: [lxc-devel] [PATCH] hwaddr templating (with fixes from comments)

2014-01-06 Thread Serge Hallyn
Quoting l...@zitta.fr (l...@zitta.fr): > 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 chang

Re: [lxc-devel] [PATCH] hwaddr templating (with fixes from comments)

2014-01-06 Thread lxc
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 change introduce also a common randinit() function that coul