Fix ESXi problem inducing more IO than is required to get the job done (reduces measured runtime by a bit over 66% in one case)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-02-22 21:23:12 +00:00
parent 2cc9a116e6
commit 32de78952f

View File

@ -4628,6 +4628,7 @@ sub cpNetbootImages {
push @filestocopy,$_;
}
}
}
#now that we have a list, do the copy (mostly redundant, but PXE needs them tftp accessible)
foreach (@filestocopy) {
chomp;
@ -4641,7 +4642,6 @@ sub cpNetbootImages {
xCAT::SvrUtils::sendmsg([1,"Could not copy netboot contents from $srcDir/$mod to $destDir/$mod, $srcDir/$mod not found"], $output_handler);
}
}
}
} else {
xCAT::SvrUtils::sendmsg([1,"VMware $osver is not supported for netboot"], $output_handler);
}