updated to do mod.tgz during esxi4.1 install

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
vallard 2010-08-10 23:04:19 +00:00
parent e7eda21182
commit 074b5975a7

View File

@ -947,7 +947,7 @@ sub mkinstall
if($esxi){
$k = "xcat/$os/$arch/mboot.c32";
$i = "";
my @addfiles = qw(vmkernel.gz sys.vgz cim.vgz ienviron.vgz install.vgz);
my @addfiles = qw(vmkernel.gz sys.vgz cim.vgz ienviron.vgz install.vgz );
$kcmdline = "xcat/$os/$arch/vmkboot.gz " . $kcmdline;
foreach(@addfiles){
$kcmdline .= " --- xcat/$os/$arch/$_";
@ -1224,6 +1224,10 @@ sub getplatform {
sub copyesxiboot {
my $srcdir = shift;
my $targetdir = shift;
# this just does the same thing that the stateless version does.
unless(-f "$targetdir/mod.tgz"){
xCAT_plugin::esx::makecustomizedmod('esxi', $targetdir);
}
my @files = qw(mboot.c32 vmkboot.gz vmkernel.gz sys.vgz cim.vgz ienviron.vgz install.vgz);
foreach my $f (@files){
copy("$srcdir/$f","$targetdir");