netbird/client/system
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
..
detect_cloud Remove dns based cloud detection (#1812) 2024-04-09 19:01:31 +02:00
detect_platform Extend system meta (#1598) 2024-02-20 11:53:11 +01:00
info_android.go Trim new line char from Android version (#2147) 2024-06-18 15:31:19 +02:00
info_darwin_test.go Extend system meta (#1598) 2024-02-20 11:53:11 +01:00
info_darwin.go Extend system meta (#1598) 2024-02-20 11:53:11 +01:00
info_freebsd.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
info_ios.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
info_linux.go Fix linux serial number retrieval (#2206) 2024-07-02 13:19:08 +02:00
info_test.go Extend system meta (#1598) 2024-02-20 11:53:11 +01:00
info_windows_test.go Extend system meta (#1598) 2024-02-20 11:53:11 +01:00
info_windows.go Do not fail on virtualized windows systems (#1669) 2024-03-06 14:32:34 +01:00
info.go Fix checkFileAndProcess function on FreeBSD (#2128) 2024-06-13 14:40:48 +02:00
osrelease_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
process.go Fix checkFileAndProcess function on FreeBSD (#2128) 2024-06-13 14:40:48 +02:00