[pve-devel] [PATCH] Bugfix 603: vmid.fw file not deleted

Dietmar Maurer dietmar at proxmox.com
Wed Aug 19 15:31:25 CEST 2015


applied, added missing:

use PVE::Firewall;


On 08/19/2015 10:33 AM, Alen Grizonic wrote:
> Signed-off-by: Alen Grizonic <a.grizonic at proxmox.com>
> ---
>   PVE/API2/Qemu.pm | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
> index 24a066f..28efbc1 100644
> --- a/PVE/API2/Qemu.pm
> +++ b/PVE/API2/Qemu.pm
> @@ -1148,6 +1148,8 @@ __PACKAGE__->register_method({
>   	    PVE::QemuServer::vm_destroy($storecfg, $vmid, $skiplock);
>   
>   	    PVE::AccessControl::remove_vm_access($vmid);
> +
> +            PVE::Firewall::remove_vmfw_conf($vmid);
>   	};
>   
>   	return $rpcenv->fork_worker('qmdestroy', $vmid, $authuser, $realcmd);





More information about the pve-devel mailing list