I'll look for openvz down script today.

(I have sent a patch for qemu)

----- Mail original ----- 

De: "Dietmar Maurer" <[email protected]> 
À: "Alexandre DERUMIER" <[email protected]> 
Cc: "pve-devel" <[email protected]> 
Envoyé: Vendredi 2 Mai 2014 16:25:23 
Objet: RE: [pve-devel] pve-firewall : masquerade results (+veth vlan tag bug) 

There is also /usr/sbin/vznetcfg, but seems this is only called for init. 

> from vzctl/include/types.h: 
> 
> #define VPS_NET_ADD SCRIPTDIR "/vps-net_add" 
> #define VPS_NET_DEL SCRIPTDIR "/vps-net_del" 
> #define VPS_NETNS_DEV_ADD SCRIPTDIR "/vps-netns_dev_add" 
> #define VPS_NETNS_DEV_DEL SCRIPTDIR "/vps-netns_dev_del" 
> 
> so we need to check which script in /usr/lib/vzctl/scripts/ is best. 
> 
> > > 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? 
> > _______________________________________________ 
> > pve-devel mailing list 
> > [email protected] 
> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
> 
> 
> _______________________________________________ 
> pve-devel mailing list 
> [email protected] 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to