From 96760fe2a3a4437a07a93a5f1853a4c8dc3e9cef Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 25 Apr 2011 18:00:19 +0000 Subject: [PATCH] Correct follow-up pruning of modules with previous path changes git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 8ac1b8531..ded0c8ba0 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -3771,10 +3771,10 @@ sub copycd { close($bootcfg); foreach (@bootcfg) { #no point in optimizing trivial, infrequent code, readable this way s/runweasel//; #don't run the installer in stateless mode - s!--- /imgdb.tgz!!; #don't need the imgdb for stateless - s!--- /imgpayld.tgz!!; #don't need the boot payload since we aren't installing - s!--- /tools.t00!!; #tools could be useful, but for now skip the memory requirement - s!--- /weaselin.i00!!; #and also don't need the weasel install images if... not installing + s!--- imgdb.tgz!!; #don't need the imgdb for stateless + s!--- imgpayld.tgz!!; #don't need the boot payload since we aren't installing + s!--- tools.t00!!; #tools could be useful, but for now skip the memory requirement + s!--- weaselin.i00!!; #and also don't need the weasel install images if... not installing if (/^modules=/ and $_ !~ /xcatmod.tgz/) { chomp();