2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-27 20:48:11 +00:00

Filter out extraneous output of OneCli

This commit is contained in:
Jarrod Johnson
2017-03-30 16:42:56 -04:00
parent ef136c7f91
commit 687188d013

View File

@@ -198,7 +198,14 @@ sub processoutput { #This way, one arbiter handles output, no interrupting
$line !~ /Licensed Materials - Property of Lenovo/i &&
$line !~ /\(C\) Copyright IBM Corp. \d+-\d+ All Rights Reserved/i &&
$line !~ /\(C\) Copyright Lenovo Corp. \d+-\d+ All Rights Reserved/i &&
$line !~ /Connected to IMM at IP address/i)) {
$line !~ /Connected to IMM at IP address/i &&
$line !~ /Lenovo ASU/i &&
$line !~ /^\s*$/i &&
$line !~ /Lenovo ToolsCenterSuite CLI tcli12c-1.4.0/i &&
$line !~ /Invoking SHOW command .../i &&
$line !~ /Connected to BMC by IP address/i &&
$line !~ /Succeed running command /i)) {
)) {
print $nodehdl{$readyh} . ": " . $line . "\n";
}
}