When cloning from a snapshot, the current VM state is not copied. Not all relevant properties were dropped, leading to some left-overs in the configuration of the clone target.
Signed-off-by: Fiona Ebner <[email protected]> --- src/PVE/API2/Qemu.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/PVE/API2/Qemu.pm b/src/PVE/API2/Qemu.pm index 34f615d8..8097ea87 100644 --- a/src/PVE/API2/Qemu.pm +++ b/src/PVE/API2/Qemu.pm @@ -4356,7 +4356,10 @@ __PACKAGE__->register_method({ || $opt eq 'parent' || $opt eq 'snaptime' || $opt eq 'vmstate' - || $opt eq 'snapstate'; + || $opt eq 'snapstate' + || $opt eq 'runningcpu' + || $opt eq 'runningmachine' + || $opt eq 'running-nets-host-mtu'; # no need to copy unused images, because VMID(owner) changes anyways next if $opt =~ m/^unused\d+$/; -- 2.47.2 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
