|
facter running on PhotonOS correctly detects it as Linux but does not provide details about the PhotonOS version. For instance:
{
|
architecture => "x86_64",
|
family => "Linux",
|
hardware => "x86_64",
|
name => "Linux",
|
release => {
|
full => "4.0.9",
|
major => "4",
|
minor => "0"
|
},
|
selinux => {
|
enabled => false
|
}
|
}
|
The following information is available in lsb-release:
$ cat /etc/lsb-release
|
DISTRIB_ID="VMware Photon"
|
DISTRIB_RELEASE="1.0 TP2"
|
DISTRIB_CODENAME=Photon
|
DISTRIB_DESCRIPTION="VMware Photon 1.0 TP2"
|
|