fsp/bpa redundancy: set hidden attribute to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
28afd60d74
commit
c5213d8ff1
@ -155,6 +155,12 @@ sub add_ppc {
|
||||
# Update nodelist table
|
||||
###########################
|
||||
updategroups( $name, $db{nodelist}, $type );
|
||||
if ( $type =~ /^(fsp|bpa)$/ ) {
|
||||
$db{nodelist}->setNodeAttribs( $name, hidden => '0'));
|
||||
} else {
|
||||
$db{nodelist}->setNodeAttribs( $name, hidden => '1'));
|
||||
}
|
||||
|
||||
$db{nodelist}{commit} = 1;
|
||||
|
||||
###########################
|
||||
|
Loading…
Reference in New Issue
Block a user