diff --git a/perl-xCAT/xCAT/PPCdb.pm b/perl-xCAT/xCAT/PPCdb.pm index bee48d537..aebafe408 100644 --- a/perl-xCAT/xCAT/PPCdb.pm +++ b/perl-xCAT/xCAT/PPCdb.pm @@ -147,7 +147,7 @@ sub add_ppc { id=>$id, pprofile=>$pprofile, parent=>$parent, - nodetype=>$hwtype, + nodetype=>$nodetype{$type}, }); $db{ppc}{commit} = 1;