mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-08-04 08:26:59 +00:00
4d8d5539b4
pasu strips OneCLI's banner and status lines so only the requested settings are shown, but OneCLI has grown several status lines over the years that were not filtered and leaked into the output. Add the missing patterns. Recovered from the unmerged lenovobuild branch (229533cb,a6932bb4), which added "Connected to BMC at IP address" (master only matched "by"), "Succeed in running the command:" and "start to convert cmd.". Extended after testing a current OneCLI 5.3.0 on a Lenovo ThinkSystem SR635, which also emits "Start to connect ...", "Connected to the node(N) by KCS" and a trailing "Succeed." -- now filtered too. Validated by running a real OneCLI 5.3.0 "config show" through the filter: every banner/footer line is removed and all 756 setting lines pass unchanged. Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com>