redhat-performance / autohpl-wrapper

autohpl automated wrapper
Other
0 stars 1 forks source link

Fix CPU family grep #43

Closed grdumas closed 1 month ago

grdumas commented 1 month ago

On some systems lscpu provides the field "BIOS CPU family" in addition to "CPU family", which breaks the wrapper's parsing and causes the script to abort. This change amends the parsing to only pick up on "CPU family" when it is the start of a new line.

dvalinrh commented 1 month ago

LGTM.