mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-07 02:06:40 +00:00
fix VM clone from snapshot with cloudinit disk
All volumes contained in $vollist are activated. In this case a snapshot of the volume. For cloudinit disks no snapshots are created so don't add it to the list of volumes to activate as it otherwise fails with no logical volume found. Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
This commit is contained in:
parent
32e5405084
commit
f8c4b2c5ba
@ -3031,6 +3031,7 @@ __PACKAGE__->register_method({
|
||||
if !PVE::Storage::volume_has_feature($storecfg, 'clone', $drive->{file}, $snapname, $running);
|
||||
}
|
||||
$drives->{$opt} = $drive;
|
||||
next if PVE::QemuServer::drive_is_cloudinit($drive);
|
||||
push @$vollist, $drive->{file};
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user