mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-09-09 01:44:22 +03:00
qm rescan: do not add aliases as unused disks.
This commit is contained in:
@@ -3711,6 +3711,7 @@ sub update_disksize {
|
||||
next if $usedpath->{$path};
|
||||
$changes = 1;
|
||||
add_unused_volume($conf, $volid);
|
||||
$usedpath->{$path} = 1; # avoid to add more than once (aliases)
|
||||
}
|
||||
|
||||
return $changes;
|
||||
|
Reference in New Issue
Block a user