guestId not copied when cloning
This commit is contained in:
parent
c1787fc0a0
commit
31d8080266
|
@ -1,4 +1,4 @@
|
||||||
vn-vmware (1.0.31) stable; urgency=low
|
vn-vmware (1.0.32) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -597,11 +597,6 @@ sub clone_machine {
|
||||||
value => $dst_name
|
value => $dst_name
|
||||||
);
|
);
|
||||||
|
|
||||||
# Operating system
|
|
||||||
|
|
||||||
my $guest_id = $vm->guest->guestId;
|
|
||||||
$guest_id = $guest_id ? $guest_id : undef;
|
|
||||||
|
|
||||||
# CPU & memory
|
# CPU & memory
|
||||||
|
|
||||||
my $cpu;
|
my $cpu;
|
||||||
|
@ -712,7 +707,6 @@ sub clone_machine {
|
||||||
name => $dst_name,
|
name => $dst_name,
|
||||||
memoryMB => $memory,
|
memoryMB => $memory,
|
||||||
numCPUs => $num_cpus,
|
numCPUs => $num_cpus,
|
||||||
guestId => $guest_id,
|
|
||||||
cpuAllocation => $cpu,
|
cpuAllocation => $cpu,
|
||||||
memoryAllocation => $mem_res,
|
memoryAllocation => $mem_res,
|
||||||
extraConfig => [$extra_conf]
|
extraConfig => [$extra_conf]
|
||||||
|
|
Reference in New Issue