change setting nodetype.nodetype to node's type into setting nodetype.nodetype to 'ppc'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9ba70e2b93
commit
d868494a50
@ -95,7 +95,7 @@ sub add_ppc {
|
||||
# Update nodetype table
|
||||
###############################
|
||||
if ( $type =~ /^(fsp|bpa|lpar|hmc|ivm|frame|cec)$/ ) {
|
||||
$db{nodetype}->setNodeAttribs( $name,{nodetype=>$nodetype{$type}} );
|
||||
$db{nodetype}->setNodeAttribs( $name,{nodetype=>'ppc'} );
|
||||
$db{nodetype}{commit} = 1;
|
||||
}
|
||||
###############################
|
||||
@ -456,6 +456,7 @@ sub update_node_attribs
|
||||
$id ne $ppchash->{id} or
|
||||
$pprofile ne $ppchash->{pprofile} or
|
||||
$parent ne $ppchash->{parent} or
|
||||
$type ne $ppchash->{nodetype} or
|
||||
$namediff)
|
||||
{
|
||||
$db->{ppc}->delEntries( $key_col) if ( $namediff);
|
||||
@ -463,7 +464,8 @@ sub update_node_attribs
|
||||
{ hcp=>$server,
|
||||
id=>$id,
|
||||
pprofile=>$pprofile,
|
||||
parent=>$parent
|
||||
parent=>$parent,
|
||||
nodetype=>$type,
|
||||
});
|
||||
if ( $namediff)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user