Fix problem where esxi 4.x was called 'esx' in platform terms

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-10-22 15:44:32 +00:00
parent 7606207542
commit b0839c618b

View File

@ -1613,6 +1613,10 @@ sub getplatform {
{
$platform = "fedora";
}
elsif ($os =~ /esxi.*/)
{
$platform = "esxi";
}
elsif ($os =~ /esx.*/)
{
$platform = "esx";