From b0839c618be8e98741cae5f2b1a1cf41eda10ed5 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 22 Oct 2012 15:44:32 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/anaconda.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 438b4f38b..f336b7e8a 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -1613,6 +1613,10 @@ sub getplatform { { $platform = "fedora"; } + elsif ($os =~ /esxi.*/) + { + $platform = "esxi"; + } elsif ($os =~ /esx.*/) { $platform = "esx";