xenserver / xe-guest-utilities

XenServer guest utilities for unix-like operating systems
BSD 2-Clause "Simplified" License
59 stars 58 forks source link

Support generic distributions using os-release #116

Closed agners closed 3 years ago

agners commented 3 years ago

The /etc/os-release file is a standardized format containing operating system identification data. Like lsb_release it allows to get distribution information but uses a simple file format which is meant to be sourced in a script.

See also: https://www.freedesktop.org/software/systemd/man/os-release.html

stormi commented 3 years ago

Related to #108

xihuan-citrix commented 3 years ago

Hi @agners, any test results about this modification.

agners commented 3 years ago

@xihuan-citrix what do you mean? I successfully use this modification on a custom buildroot built distribution.