From 31d80802662503a9af743cd8d27c6ba88c1b8e92 Mon Sep 17 00:00:00 2001 From: Juan Date: Thu, 11 Oct 2018 10:20:11 +0200 Subject: [PATCH] guestId not copied when cloning --- debian/changelog | 2 +- vn-vmware.pl | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index c651963..7fa8bf9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -vn-vmware (1.0.31) stable; urgency=low +vn-vmware (1.0.32) stable; urgency=low * Initial Release. diff --git a/vn-vmware.pl b/vn-vmware.pl index d7789f3..023c0fd 100755 --- a/vn-vmware.pl +++ b/vn-vmware.pl @@ -597,11 +597,6 @@ sub clone_machine { value => $dst_name ); - # Operating system - - my $guest_id = $vm->guest->guestId; - $guest_id = $guest_id ? $guest_id : undef; - # CPU & memory my $cpu; @@ -712,7 +707,6 @@ sub clone_machine { name => $dst_name, memoryMB => $memory, numCPUs => $num_cpus, - guestId => $guest_id, cpuAllocation => $cpu, memoryAllocation => $mem_res, extraConfig => [$extra_conf]