Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
VMware esx4 using the vSphere API
Description
In the copy_file_from subroutine in VCL/Module/Provisioning/VMware/vSphere_SDK.pm, the $destination_directory_path value (i.e. on the management node) is set by calling the _get_parent_directory_normal_path(). That subroutine, however, is for handling paths in the VMware datastore, and the $destination_directory_path is presumably always on the management node, so what is probably meant is simply:
(on line 1402)
my $destination_directory_path = basename($destination_file_path) || return;