From 23467b0b27cfb996cf5816dcbd63c3b6d857881d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 15 Jun 2010 15:10:45 +0000 Subject: [PATCH] -VMware changed the format of their README.txt git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index d160b8f5c..ddc27e36c 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -2582,7 +2582,7 @@ sub copycd { open(LINE, $path . "/README.txt") or die "couldn't open!"; while($line = ){ chomp($line); - if($line =~ /VMware ESXi version 4\.(\d+)/){ + if($line =~ /VMware ESXi(?: version)? 4\.(\d+)/){ $darch = "x86_64"; $distname = "esxi4"; if ($1) {