[lxc-devel] [lxc/lxc] a02656: Make lxc-user-nic use mkifname

GitHub noreply at github.com
Thu Dec 5 19:56:39 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a0265685269fa24387a8871151db84199028c715
      https://github.com/lxc/lxc/commit/a0265685269fa24387a8871151db84199028c715
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-12-05 (Thu, 05 Dec 2013)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/lxc_user_nic.c
    M src/lxc/network.c
    M src/lxc/network.h

  Log Message:
  -----------
  Make lxc-user-nic use mkifname

NetworkManager at least expects all veth devices to be called veth*
otherwise it'll consider them as physical interface and try to do DHCP
on them.

This change makes lxc-user-nic use the same function that we use for LXC
itself which will give us standard vethXXXXX kind of interfaces.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list