Fix bug 3184653:lsslp->mgt is not correct for CEC

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-02-17 09:19:38 +00:00
parent 5a2c16c6d5
commit 0224a544c4

View File

@ -2700,7 +2700,13 @@ sub format_stanza {
} elsif ( /^groups$/ ) {
$d = "$type,all";
} elsif ( /^mgt$/ ) {
$d = $mgt{$type};
if ($mgt{$type} =~ /^cec$/) {
$d = "fsp";
}elsif ($mgt{$type} =~ /^frame$/) {
$d = "bpa";
}else {
$d = $mgt{$type};
}
} elsif ( /^id$/ ) {
if ( $type =~ /^(fsp|bpa|cec|frame)$/ ) {
$d = $data[$i++];