From 4d5c36105545ecb03d6fe438ad9b1e23f9d2a011 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 22 Oct 2012 15:45:02 +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/branches/2.7@14079 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 42a56b5da..da5f8baf5 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -1465,6 +1465,10 @@ sub getplatform { { $platform = "fedora"; } + elsif ($os =~ /esxi.*/) + { + $platform = "esxi"; + } elsif ($os =~ /esx.*/) { $platform = "esx";