fix bug rmhwconn 3298172:CEC will change mgt to cec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
41eb47e678
commit
7541b9cd6e
@ -720,7 +720,11 @@ sub rmhmcmgt
|
||||
my $ent = $nodehm_tab->getNodeAttribs( $node, ['mgt']);
|
||||
if ( !$ent or $ent->{mgt} ne $hwtype)
|
||||
{
|
||||
$nodehm_tab->setNodeAttribs( $node, { mgt=>$hwtype});
|
||||
if ($hwtype eq "cec" || $hwtype eq "frame") {
|
||||
$nodehm_tab->setNodeAttribs( $node, { mgt=>"fsp"});
|
||||
} else {
|
||||
$nodehm_tab->setNodeAttribs( $node, { mgt=>$hwtype});
|
||||
}
|
||||
}
|
||||
|
||||
my $ppc_tab = xCAT::Table->new('ppc', -create=>1);
|
||||
|
Loading…
Reference in New Issue
Block a user