--- Begin Message ---
on container deletion the VMID is added to the list of previously used
VMIDs
Signed-off-by: Daniel Krambrock <krambr...@hrz.uni-marburg.de>
---
src/PVE/API2/LXC.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 138288c..f71f005 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -799,6 +799,7 @@ __PACKAGE__->register_method({
my $realcmd = sub { PVE::LXC::Config->lock_config($vmid, $code); };
+ PVE::UsedVmidList::add_vmid($vmid);
return $rpcenv->fork_worker('vzdestroy', $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