mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-02-01 17:45:24 +00:00
fix bug #688: prevent copy unused disks in the config.
This commit is contained in:
parent
0e4ebd3059
commit
a78ea5dfe9
@ -2173,6 +2173,9 @@ __PACKAGE__->register_method({
|
||||
next if $opt eq 'snapshots' || $opt eq 'parent' || $opt eq 'snaptime' ||
|
||||
$opt eq 'vmstate' || $opt eq 'snapstate';
|
||||
|
||||
# no need to copy unused images, because VMID(owner) changes anyways
|
||||
next if $opt =~ m/^unused\d+$/;
|
||||
|
||||
# always change MAC! address
|
||||
if ($opt =~ m/^net(\d+)$/) {
|
||||
my $net = PVE::QemuServer::parse_net($value);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user