fix bug 3486467: rscan -z can not parse out the IP address for FSPs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c536952cab
commit
a3f3b3b46a
@ -1645,6 +1645,8 @@ sub rscan_xml {
|
||||
|
||||
if (!$ignore) {
|
||||
$href->{Node}->{$_} = $d;
|
||||
} elsif (/^mpa$/ && $type eq "fsp") {
|
||||
$href->{Node}->{ip} = $d;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1734,6 +1736,8 @@ sub rscan_stanza {
|
||||
|
||||
if (!$ignore) {
|
||||
$result .= "\t$_=$d\n";
|
||||
} elsif (/^mpa$/ && $type eq "fsp") {
|
||||
$result .= "\tip=$d\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user