-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
This commit is contained in:
jbjohnso 2010-06-15 15:10:45 +00:00
parent f30af098f3
commit 23467b0b27

View File

@ -2582,7 +2582,7 @@ sub copycd {
open(LINE, $path . "/README.txt") or die "couldn't open!";
while($line = <LINE>){
chomp($line);
if($line =~ /VMware ESXi version 4\.(\d+)/){
if($line =~ /VMware ESXi(?: version)? 4\.(\d+)/){
$darch = "x86_64";
$distname = "esxi4";
if ($1) {