Fixup certain ESXi media on copy-in

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-10-03 15:54:47 +00:00
parent c136f9a716
commit 3b0b983b57

View File

@ -4105,6 +4105,9 @@ sub copycd {
print $bootcfg $_;
}
close($bootcfg);
if (grep /LSIProvi.v00/,@bootcfg and ! -r "$installroot/$distname/$arch/LSIProvi.v00" and -r "$installroot/$distname/$arch/lsiprovi.v00") { #there is media with LSIProv.v00 expected, but the install media was mal-constructed, fix it
move("$installroot/$distname/$arch/lsiprovi.v00","$installroot/$distname/$arch/LSIProvi.v00");
}
}
}