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/branches/2.7@14079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-10-22 15:45:02 +00:00
parent f3fce3cbd7
commit 4d5c361055

View File

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