From ecaefac00d00b4e38e4be9bf74d28f1971187c9d Mon Sep 17 00:00:00 2001 From: sakolish Date: Wed, 2 Apr 2008 14:53:19 +0000 Subject: [PATCH] Changed "model" attribute to "mtm" in format_xml() and format_stanza() git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/PPCscan.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-xCAT-2.0/xCAT/PPCscan.pm b/perl-xCAT-2.0/xCAT/PPCscan.pm index 8d003fef4..9fc164c6e 100644 --- a/perl-xCAT-2.0/xCAT/PPCscan.pm +++ b/perl-xCAT-2.0/xCAT/PPCscan.pm @@ -22,7 +22,7 @@ my @header = ( ["serial-number", "%-15s" ], ["address", "%s\n" ]); -my @attribs = qw(nodetype node id model serial hcp pprofile parent groups mgt); +my @attribs = qw(nodetype node id mtm serial hcp pprofile parent groups mgt); my %nodetype = ( fsp => $::NODETYPE_FSP, bpa => $::NODETYPE_BPA, @@ -486,7 +486,7 @@ sub format_stanza { $d = "$type,all"; } elsif ( /^mgt$/ ) { $d = $hwtype; - } elsif ( /^model|serial$/ ) { + } elsif ( /^mtm|serial$/ ) { if ( $type eq "lpar" ) { $d = undef; } @@ -544,7 +544,7 @@ sub format_xml { $d = "$type,all"; } elsif ( /^mgt$/ ) { $d = $hwtype; - } elsif ( /^model|serial$/ ) { + } elsif ( /^mtm|serial$/ ) { if ( $type eq "lpar" ) { $d = undef; }