Commit Graph
4 Commits
Author SHA1 Message Date
Marco Dinis d87c4841f8 Extract more information from /etc/os-release (#42614)
We will create a new package that installs teleport in the local system.
In order to do so, we'll need to read `/etc/os-release`.
This PR adds the required fields for detecting the distro if it is based
on a popuplar distro.
2024-06-12 07:01:39 +00:00
fheinecke b178b8b732 Updated Teleport codebase to AGPL3 license (#35259)
Signed-off-by: Fred Heinecke <fred.heinecke@goteleport.com>
2023-12-01 17:48:14 +00:00
Alan Parra 40dc2e9c6c Collect device data concurrently on Linux (#34602)
* Read DMI files concurrently

* Refactor DMI logic into its own method

* Collect device data concurrently on Linux

* Drop the mutex on DMIInfoFromFS, simplify
2023-11-16 14:20:57 +00:00
Alan Parra eefac60a35 Add functions to read DMI and /etc/os-release data (#34424)
* Add logic to parse /etc/os-release

* Read DMI info from /sys/class/dmi/id

* Close files on DMIInfoFromFS

* Add a TODO for other readers of /etc/os-release
2023-11-10 19:48:22 +00:00