[lxc-devel] [lxc/lxc] 508c26: This change introduce mac address templating.

GitHub noreply at github.com
Mon Jan 13 16:05:26 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 508c263ee6ed2fac73f6979af287caba38963b4b
      https://github.com/lxc/lxc/commit/508c263ee6ed2fac73f6979af287caba38963b4b
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-13 (Mon, 13 Jan 2014)

  Changed paths:
    M doc/lxc.conf.sgml.in
    M src/lxc/confile.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  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>
Acked-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list