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
This commit is contained in:
jbjohnso 2013-01-29 14:57:26 +00:00
parent 4ee58f5941
commit 60089fd7c2

View File

@ -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{$_};