[pve-devel] pve-firewall : masquerade results (+veth vlan tag bug)

Dietmar Maurer dietmar at proxmox.com
Fri May 2 16:03:02 CEST 2014


> Indeed we have stale bridge.
> I cleanup this at vm start (on tap_plug more precisily).I have a sub for this
> PVE::Network::bridge_cleanup($iface)

Ah

> This can happen on vm_crash
>    I don't known what is the best way in this case ?
> 
> but also on vm shutdown (can be a shutdown from inside the guest for example)
>     I think for the second case, we should add a shutdown script "-netdev
> ....downscript=ifdown.sh).

Yes, a shutdown script would help in that case.
 
> for openvz veth, I don't known if it's possible to use a script at shutdown ?

Maybe we can use an action script for that:

http://openvz.org/Man/vzctl.8#ACTION_SCRIPTS

Maybe vps.umount?


More information about the pve-devel mailing list