Bethuel Mmbaga 29e5eceb6b
Fix linux serial number retrieval (#2206)
* Change source of serial number in sysInfo function

The serial number returned by the sysInfo function in info_linux.go has been fixed. Previously, it was incorrectly fetched from the Chassis object. Now it is correctly fetched from the Product object. This aligns better with the expected system info retrieval method.

* Fallback to product.Serial in sys info

In case of the chassis is "Default String" or empty then try to use product.serial

---------

Co-authored-by: Zoltán Papp <zoltan.pmail@gmail.com>
2024-07-02 13:19:08 +02:00
..
2024-02-20 11:53:11 +01:00
2024-02-20 11:53:11 +01:00
2024-06-13 13:24:24 +02:00
2024-06-13 13:24:24 +02:00
2024-02-20 11:53:11 +01:00
2024-06-13 13:24:24 +02:00