From 3b0b983b5763f2c5697fcfe7334459941de40319 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 3 Oct 2011 15:54:47 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/esx.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 364be5e84..331cc1e8a 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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"); + } } }