You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2012/06/04 19:35:19 UTC

svn commit: r1346046 - /incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm

Author: fapeeler
Date: Mon Jun  4 17:35:19 2012
New Revision: 1346046

URL: http://svn.apache.org/viewvc?rev=1346046&view=rev
Log:
VCL-576

error in sed command, changed to double quotes instead of single



Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm?rev=1346046&r1=1346045&r2=1346046&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm Mon Jun  4 17:35:19 2012
@@ -6003,7 +6003,7 @@ sub copy_vmdk {
 				# Modify the .vmsd and delta .vmdk files
 				# Change them to point to the copy of the original base image vmdk instead of the original master vmdk
 				for my $replace_file_path ($vmsd_file_path, $delta_vmdk_file_path) {
-					my $sed_command = "sed -i -e 's/$source_vmdk_file_path_escaped/$destination_vmdk_file_path_escaped/' \"$replace_file_path\"";
+					my $sed_command = "sed -i -e \"s/$source_vmdk_file_path_escaped/$destination_vmdk_file_path_escaped/\" \"$replace_file_path\"";
 					my ($sed_exit_status, $sed_output) = $self->vmhost_os->execute($sed_command);
 					if (!defined($sed_output)) {
 						notify($ERRORS{'WARNING'}, 0, "failed to execute command to replace original vmdk file path with copied vmdk file path in $replace_file_path");