]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-net: Rework/cleanup
authorStéphane Graber <stgraber@ubuntu.com>
Sat, 25 Apr 2015 21:06:30 +0000 (17:06 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 1 Jul 2015 15:52:48 +0000 (11:52 -0400)
commit40ec5e3f3534a3273ecba755d748396f8e3432a1
tree5a205e074551f2b92da7c9c7a519addf4ec3c6c3
parentc775aec928745cf2546b04766b57a5b8f3282de0
lxc-net: Rework/cleanup

This updates lxc-net with the following changes:
 - Better recover from crashes/partial runs
 - Better error detection and reporting
 - Less code duplication (use the stop code on crash)
 - Better state tracking
 - Allow for restart of all of lxc-net except for the bridge itself
 - Only support iproute from this point on (ifconfig's been deprecated
   for years)

V2: Use template variables everywhere

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
config/init/common/lxc-net.in