cdist/cdist/conf/explorer
Philippe Grégoire 69c6de9f9c
explorer/os: get ID from /etc/os-release
/etc/os-release was introduced by systemd[1] and is now
more and more common; even on systems without systemd (e.g. lede).
In addition to detecting the OS based on specific attributes,
this file provides the ID marker to describe the OS.

This commit adds support for OS detection via /etc/os-release.
According to [2], it is already lowercase.

[1] http://0pointer.de/blog/projects/os-release
[2] https://www.freedesktop.org/software/systemd/man/os-release.html
2017-08-19 16:41:50 -04:00
..
cpu_cores cat and pipe diet 2014-06-18 10:19:21 +02:00
cpu_sockets cat and pipe diet 2014-06-18 10:19:21 +02:00
disks add changelog for 4.x cdist series 2014-01-20 10:04:42 +01:00
hostname use uname -n in hostname explorer 2014-01-20 14:07:31 +01:00
init modified the unknown case to empty... 2016-03-25 16:39:48 +01:00
interfaces bugfix the list of interfaces 2014-04-29 12:57:46 +02:00
kernel_name add __go_get, __golang_from_vendor 2017-05-04 17:46:20 +02:00
lsb_codename make package_data work 2012-10-29 22:50:27 +01:00
lsb_description make package_data work 2012-10-29 22:50:27 +01:00
lsb_id make package_data work 2012-10-29 22:50:27 +01:00
lsb_release make package_data work 2012-10-29 22:50:27 +01:00
machine Eliminiate excess output from machine explorer 2013-01-12 19:35:09 -08:00
machine_type Explore machine type for virtualbox guest 2016-07-06 18:39:27 -04:00
memory code diet on "memory" 2014-06-21 14:24:10 +02:00
os explorer/os: get ID from /etc/os-release 2017-08-19 16:41:50 -04:00
os_version use /etc/os-release instead of /etc/SuSE-release 2016-10-04 11:29:48 +02:00
runlevel make package_data work 2012-10-29 22:50:27 +01:00