--- Begin Message ---
On guest deletion the VMID is added to the list of previously used
VMIDs
Signed-off-by: Daniel Krambrock <krambr...@hrz.uni-marburg.de>
---
PVE/API2/Qemu.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 2a1d4d7..c24b317 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -2313,6 +2313,7 @@ __PACKAGE__->register_method({
});
};
+ PVE::UsedVmidList::add_vmid($vmid);
return $rpcenv->fork_worker('qmdestroy', $vmid, $authuser, $realcmd);
}});
--
2.39.2
--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel