mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-09 19:45:14 +00:00
fix bug #603: vmid.fw file not deleted
Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
This commit is contained in:
parent
d662790a14
commit
e9abcde681
@ -19,6 +19,7 @@ use PVE::RPCEnvironment;
|
|||||||
use PVE::AccessControl;
|
use PVE::AccessControl;
|
||||||
use PVE::INotify;
|
use PVE::INotify;
|
||||||
use PVE::Network;
|
use PVE::Network;
|
||||||
|
use PVE::Firewall;
|
||||||
use PVE::API2::Firewall::VM;
|
use PVE::API2::Firewall::VM;
|
||||||
use PVE::HA::Config;
|
use PVE::HA::Config;
|
||||||
|
|
||||||
@ -1149,6 +1150,8 @@ __PACKAGE__->register_method({
|
|||||||
PVE::QemuServer::vm_destroy($storecfg, $vmid, $skiplock);
|
PVE::QemuServer::vm_destroy($storecfg, $vmid, $skiplock);
|
||||||
|
|
||||||
PVE::AccessControl::remove_vm_access($vmid);
|
PVE::AccessControl::remove_vm_access($vmid);
|
||||||
|
|
||||||
|
PVE::Firewall::remove_vmfw_conf($vmid);
|
||||||
};
|
};
|
||||||
|
|
||||||
return $rpcenv->fork_worker('qmdestroy', $vmid, $authuser, $realcmd);
|
return $rpcenv->fork_worker('qmdestroy', $vmid, $authuser, $realcmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user