From 687188d013a31cc4aeb18db8685f73fe9b998b6a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 30 Mar 2017 16:42:56 -0400 Subject: [PATCH] Filter out extraneous output of OneCli --- xCAT-client/bin/pasu | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xCAT-client/bin/pasu b/xCAT-client/bin/pasu index 4139f00de..fa704f97f 100755 --- a/xCAT-client/bin/pasu +++ b/xCAT-client/bin/pasu @@ -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"; } }