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:
mxi1 2010-10-21 08:02:24 +00:00
parent aa9b852f86
commit 3a928b23b7
2 changed files with 3 additions and 3 deletions

View File

@ -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']);

View File

@ -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;
}