On s390x architecture, lshw doesn't properly report the system model. This commit adds fallback detection using the read_values command, which provides the model information in the format: "2064 = z900 IBM eServer zSeries 900" The implementation: - Runs read_values -c on s390x systems only - Parses the output to extract the model string - Intelligently splits IBM models into vendor and version (e.g., "z900 IBM eServer zSeries 900" -> vendor="IBM", version="eServer zSeries 900") - Enriches the existing HardwareNode system class with this data Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| share | ||