]> xenbits.xensource.com Git - libvirt.git/commit
lxc: don't up the veth interfaces unless explicitly asked to
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 24 Apr 2015 13:52:56 +0000 (15:52 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 6 May 2015 16:00:36 +0000 (18:00 +0200)
commitc3cf3c43a0bb2e0e4909c32821e20f607635ec85
treee415a848228b4f90426329cda364ce90f7d46b24
parent808e771e835a5ae6278809485185136b5f8705ec
lxc: don't up the veth interfaces unless explicitly asked to

Upping an interface for no reason and not configuring it is a cardinal sin.

With the default addrgenmode if eui64 it sticks a link-local address to the
interface. That is not good, as NetworkManager would see an address configured,
assume the interface is already configured and won't touch it iself and the
interface might stay unconfigured until the end of the days.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1124721

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/lxc/lxc_container.c
src/lxc/lxc_native.c