got the right osimage field

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
vallard 2010-11-23 18:55:19 +00:00
parent 51fdf1c689
commit d1417ee1d6

View File

@ -427,8 +427,8 @@ sub makescript
}
}
}
print "pkglist=$pkglist\n";
print "ospkglist=$ospkglist\n";
#print "pkglist=$pkglist\n";
#print "ospkglist=$ospkglist\n";
if ($ospkglist)
{
my $pkgtext = get_pkglist_tex($ospkglist);
@ -584,7 +584,7 @@ sub makescript
$osimgname = "$os-$arch-$provmethod-$profile";
}
my $et2 =
$ostab->getAttribs({'image' => "$osimgname"}, ['postscripts', 'postbootscripts']);
$ostab->getAttribs({'imagename' => "$osimgname"}, ['postscripts', 'postbootscripts']);
$ps = $et2->{'postscripts'};
if ($ps)
{