-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:
parent
5d5b85dbe2
commit
eef2a3d85c
@ -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,
|
||||
|
@ -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);
|
||||
|
@ -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(
|
||||
|
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user