guestId not copied when cloning

This commit is contained in:
Juan 2018-10-11 10:20:11 +02:00
parent c1787fc0a0
commit 31d8080266
2 changed files with 1 additions and 7 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
vn-vmware (1.0.31) stable; urgency=low
vn-vmware (1.0.32) stable; urgency=low
* Initial Release.

View File

@ -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]