From d1417ee1d69e3736ce033d683298e666ee1f93b8 Mon Sep 17 00:00:00 2001 From: vallard Date: Tue, 23 Nov 2010 18:55:19 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/perl/xCAT/Postage.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 873de5a6a..1431baa15 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -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) {