You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2017/03/16 23:36:58 UTC
svn commit: r1787271 -
/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
Author: arkurth
Date: Thu Mar 16 23:36:58 2017
New Revision: 1787271
URL: http://svn.apache.org/viewvc?rev=1787271&view=rev
Log:
VCL-1025
Changed VMware VM naming convention to use an underscore instead of a colon. This only affects the display name. Also removed the shared/dedicated part.
Modified:
vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm?rev=1787271&r1=1787270&r2=1787271&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm Thu Mar 16 23:36:58 2017
@@ -1708,13 +1708,7 @@ sub prepare_vmx {
# Set the disk parameters based on whether or not the VM has a dedicated virtual disk
# Also set the display name to indicate if the VM has a shared or dedicated virtual disk
- my $display_name = "$computer_name:$image_name";
- if ($is_vm_dedicated) {
- $display_name .= " (dedicated)";
- }
- else {
- $display_name .= " (shared)";
- }
+ my $display_name = "$computer_name\_$image_name";
my $vm_disk_mode = 'persistent';
my $vm_disk_write_through = "TRUE";