mirror_lxc/src
Major Hayden ce5782df8f Tear down network devices during container halt
On very busy systems, some virtual network devices won't be destroyed after a
container halts.  This patch uses the lxc_delete_network() method to ensure
that network devices attached to the container are destroyed when the
container halts.

Without the patch, some virtual network devices are left over on the system
and must be removed with `ip link del <device>`.  This caused containers
with lxc.network.veth.pair to not be able to start.  For containers using
randomly generated virtual network device names, the old devices will hang
around on the bridge with their original MAC address.

Signed-off-by: Major Hayden <major@mhtx.net>
2015-09-03 08:32:19 -05:00
..
include licensing: Add missing headers and FSF address 2013-09-03 14:33:03 -04:00
lua-lxc Fix Lua 5.3 compatibility code. 2015-04-26 23:26:27 +02:00
lxc Tear down network devices during container halt 2015-09-03 08:32:19 -05:00
python-lxc add bdevtype to lxc create procedure 2015-03-10 11:14:01 +02:00
tests Merge pull request #585 from ptoomey3/lxc-execute-as-user 2015-08-28 11:23:13 -04:00
Makefile.am add lua binding for the lxc API 2013-01-28 18:04:08 -05:00