]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.h
Add network-down script
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 9 Jul 2012 17:15:48 +0000 (19:15 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 17:04:30 +0000 (12:04 -0500)
commit74a2b5864f2ece87bf522d1c1cbd590dc24c0c53
treec8f76b179d1f1c05d86952033b0acaad185b33f5
parentc8dee0f165d19271bb0a83069dcbb65fbc02e73f
Add network-down script

Analogously to lxc.network.script.up, add the ability to register a down
script. It is called before the guest network is finally destroyed,
allowing to clean up resources that are not reset/destroyed
automatically. Parameters of the down script are identical to the up
script except for the execution context "down".

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
doc/lxc.conf.sgml.in
src/lxc/conf.c
src/lxc/conf.h
src/lxc/confile.c
src/lxc/start.c