Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect official OS name / description #357

Open
ydirson opened this issue Dec 1, 2023 · 0 comments
Open

Collect official OS name / description #357

ydirson opened this issue Dec 1, 2023 · 0 comments

Comments

@ydirson
Copy link
Contributor

ydirson commented Dec 1, 2023

It is useful in some situations to get a "user-readable description" of the OS/version considered (in our case, to identify the OS running in a VM).

This information is available eg. in /etc/os-release as PRETTY_NAME, or from lsb_release as Description, and cannot be deduced from existing fields for various reasons, including:

  • every OS editor has its conventions
  • Version retrivial does not all today to access the official version string

It could default to a constructed string for OS not directly providing such information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant