From 60089fd7c223a53f35352a098a222a7b9a283de2 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 29 Jan 2013 14:57:26 +0000 Subject: [PATCH] Add Guest ID map for Windows 2012, 8, and ESXi itself for vmware support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 32c516f91..1d93bc9c7 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -103,6 +103,11 @@ my %guestidmap = ( "sles10.*" => "sles10_", "win2k8" => "winLonghorn", "win2k8r2" => "windows7Server", + "win2012" => "windows8Server", + "hyperv2012" => "windows8Server", + "esix5.*" => "vmkernel5", + "esix4.*" => "vmkernel", + "win8" => "windows8_", "win7" => "windows7_", "win2k3" => "winNetStandard", "imagex" => "winNetStandard", @@ -2930,7 +2935,7 @@ sub getguestid { my $nodearch = $tablecfg{nodetype}->{$node}->[0]->{arch}; foreach (keys %guestidmap) { if (defined($nodeos) and $nodeos =~ /$_/) { - if ($nodearch eq 'x86_64') { + if ($nodearch eq 'x86_64' and $_ !~ /vmkernel/) { $nodeos=$guestidmap{$_}."64Guest"; } else { $nodeos=$guestidmap{$_};