[lxc-devel] [PATCH] hwaddr templating (with fixes from comments 2)
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Jan 13 15:50:18 UTC 2014
Quoting lxc at zitta.fr (lxc at zitta.fr):
>
> Le 07/01/2014 01:07, Serge Hallyn a écrit :
> > Quoting lxc at zitta.fr (lxc at 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 change introduce also a common randinit() function that could be
> >> used to initialize random generator.
> >>
> >> Signed-off-by: gza <lxc at zitta.fr>
> > Sorry, two more changes needed. If you prefer I can do them
> > in-line.
> >
> Thanks, but it's a good C programming lesson for me.
>
> Hope this is final patch rc1 time is comming ...
Thanks very much :)
-serge
More information about the lxc-devel
mailing list