Author: arkurth
Date: Mon Aug 17 14:20:00 2009
New Revision: 804991

URL: http://svn.apache.org/viewvc?rev=804991&view=rev
Log:
VCL-201
Added condition to vmware.pm to set the guestOS value in the .vmx file to 
winvista for Windows Vista images.

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

Modified: 
incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm?rev=804991&r1=804990&r2=804991&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm 
(original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm 
Mon Aug 17 14:20:00 2009
@@ -628,7 +628,7 @@
        $guestOS = "winxppro" if ($requestedimagename =~ /(winxp)/i);
        $guestOS = "winnetenterprise"  if ($requestedimagename =~ 
/(win2003|win2008)/i);
        $guestOS = "ubuntu"   if ($requestedimagename =~ /(ubuntu)/i);
-
+       $guestOS = "winvista"   if ($requestedimagename =~ /(vista)/i);
 
        my @vmxfile;
        my $tmpfile = "/tmp/$myvmdir/$myvmdir.vmx";


Reply via email to