for defect 3090498, remove two unused variable in sles.pm;
for defect 3091772 and 3091775, two errors in sles genimage. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
aa9b852f86
commit
3a928b23b7
@ -265,10 +265,8 @@ sub mknetboot
|
||||
}
|
||||
|
||||
# TODO: move the table operations out of the foreach loop
|
||||
my $restab = xCAT::Table->new('noderes');
|
||||
my $bptab = xCAT::Table->new('bootparams',-create=>1);
|
||||
my $hmtab = xCAT::Table->new('nodehm');
|
||||
$ent = $restab->getNodeAttribs($node, ['primarynic', 'installnic']);
|
||||
my $sent =
|
||||
$hmtab->getNodeAttribs($node,
|
||||
['serialport', 'serialspeed', 'serialflow']);
|
||||
|
@ -592,7 +592,7 @@ if ($needUpdateTable) {
|
||||
$updates_os{'provmethod'} = 'netboot';
|
||||
$updates_os{'osname'} = 'Linux';
|
||||
$updates_os{'osvers'} = $osver;
|
||||
$updates_os{'osdistro'} = 'rh'; # not used currently
|
||||
$updates_os{'osdistro'} = 'sles'; # not used currently
|
||||
$updates_os{'osarch'} = $arch;
|
||||
|
||||
$osimagetab->setAttribs(\%keyhash, \%updates_os);
|
||||
@ -607,6 +607,8 @@ if ($needUpdateTable) {
|
||||
$updates_os{'provmethod'} = 'statelite';
|
||||
|
||||
$osimagetab->setAttribs(\%keyhash, \%updates_os);
|
||||
$osimagetab->commit;
|
||||
|
||||
$linuximagetab->setAttribs(\%keyhash, \%updates);
|
||||
$linuximagetab->commit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user