copycds for esxi5

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-04-19 14:23:35 +00:00
parent 7369ca753b
commit 517f9a25f7

View File

@ -3682,7 +3682,18 @@ sub copycd {
}
}
close(LINE);
}
} elsif (-r $path . "/vmware-esx-base-readme") {
open(LINE,$path."/vmware-esx-base-readme");
while (<LINE>) {
if (/VMware ESXi 5\.0/) {
$darch="x86_64";
$arch="x86_64";
$distname='esxi5';
$found=1;
last;
}
}
}
unless ($found) { return; } #not our media
xCAT::SvrUtils::sendmsg("Copying media to $installroot/$distname/$arch/", $output_handler);