> Maybe on package update,
> 
> put a temp file somewhere,
> 
> and when the pve-firewall is stopped and if this temp file exist, flush all 
> the
> ipsets (or remove them with old code) ?
> the remove the temp file, and start pve-firewall.

I added a simple preinst script:

https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff;h=161796ceb966e761d74225ea88f5d8083f203944

hope that helps.
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to