-Fix problem where bootparams table was not being created

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-05-20 19:04:45 +00:00
parent 5d5b85dbe2
commit eef2a3d85c
4 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ sub mknetboot
next;
}
my $restab = xCAT::Table->new('noderes');
my $bptab = xCAT::Table->new('bootparams');
my $bptab = xCAT::Table->new('bootparams',-create=>1);
my $hmtab = xCAT::Table->new('nodehm');
my $ent = $restab->getNodeAttribs($node, ['primarynic']);
my $sent =
@ -551,7 +551,7 @@ sub mkinstall
#We have a shot...
my $restab = xCAT::Table->new('noderes');
my $bptab = xCAT::Table->new('bootparams');
my $bptab = xCAT::Table->new('bootparams',-create=>1);
my $hmtab = xCAT::Table->new('nodehm');
my $ent =
$restab->getNodeAttribs($node,

View File

@ -62,7 +62,7 @@ sub setstate {
=cut
my $node = shift;
my $bptab = xCAT::Table->new('bootparams');
my $bptab = xCAT::Table->new('bootparams',-create=>1);
my $kern = $bptab->getNodeAttribs($node,['kernel','initrd','kcmdline']);
my $pcfg;
open($pcfg,'>',$tftpdir."/pxelinux.cfg/".$node);

View File

@ -178,7 +178,7 @@ sub mkinstall
#We have a shot...
my $restab = xCAT::Table->new('noderes');
my $bptab = xCAT::Table->new('bootparams');
my $bptab = xCAT::Table->new('bootparams',-create=>1);
my $hmtab = xCAT::Table->new('nodehm');
my $ent =
$restab->getNodeAttribs(

View File

@ -64,7 +64,7 @@ sub setstate {
=cut
my $node = shift;
my $bptab = xCAT::Table->new('bootparams');
my $bptab = xCAT::Table->new('bootparams',-create=>1);
my $kern = $bptab->getNodeAttribs($node,['kernel','initrd','kcmdline']);
my $pcfg;
unless (-d "$tftpdir/etc") {