mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 22:16:22 +00:00
create: add better check for unused IDs
This commit is contained in:
parent
0e14d632bd
commit
5f20325f61
@ -422,8 +422,7 @@ __PACKAGE__->register_method({
|
||||
my $createfn = sub {
|
||||
|
||||
# test after locking
|
||||
die "unable to create vm $vmid: config file already exists\n"
|
||||
if -f $filename;
|
||||
PVE::Cluster::check_vmid_unused($vmid);
|
||||
|
||||
my $realcmd = sub {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user