diff --git a/perl-xCAT/xCAT/PPCscan.pm b/perl-xCAT/xCAT/PPCscan.pm index f6cbd4aad..38f45faa6 100644 --- a/perl-xCAT/xCAT/PPCscan.pm +++ b/perl-xCAT/xCAT/PPCscan.pm @@ -538,7 +538,7 @@ sub format_stanza { if ( /^node$/ ) { next; } elsif ( /^nodetype$/ ) { - $d = $nodetype{$d}; + $d = $type; } elsif ( /^groups$/ ) { $d = "$type,all"; } elsif ( /^mgt$/ ) {