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

Improve system detection #36

Open
federico-razzoli opened this issue Jul 9, 2022 · 0 comments
Open

Improve system detection #36

federico-razzoli opened this issue Jul 9, 2022 · 0 comments
Labels
CRITICAL Must be done before next release enhancement New feature or request

Comments

@federico-razzoli
Copy link
Member

federico-razzoli commented Jul 9, 2022

Change the way we use to detect the Linux distribution and version. Do not rely on image name, because this poses unreasonable limits to the images we can use as baseboxes.

If /etc/os-release is present, we have the following variables:

  • ID_LIKE: Distro family
  • NAME: Distro name
  • VERSION_CODENAME and VERSION_ID
@federico-razzoli federico-razzoli added enhancement New feature or request CRITICAL Must be done before next release labels Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CRITICAL Must be done before next release enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant