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

Alen Grizonic a.grizonic at proxmox.com
Wed Aug 19 10:33:05 CEST 2015


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);
-- 
2.1.4





More information about the pve-devel mailing list