summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Masztalerz <robertmasztalerz@gmail.com>2021-06-16 15:50:53 +0200
committerGitHub <noreply@github.com>2021-06-16 15:50:53 +0200
commit1277256783bf9fbdbda98d8463a6738d9984ee79 (patch)
tree60d0c360b98eba19938a6a8b951e9a20f8b53087
parent934109b9eb3d46da996eb4780719e0ebe11ccafc (diff)
downloadohai-1277256783bf9fbdbda98d8463a6738d9984ee79.tar.gz
Add Virtuozzo as RHEL platform_family
Signed-off-by: Robert Masztalerz <robertmasztalerz@gmail.com>
-rw-r--r--lib/ohai/plugins/linux/platform.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb
index 27cbb264..3433bdf2 100644
--- a/lib/ohai/plugins/linux/platform.rb
+++ b/lib/ohai/plugins/linux/platform.rb
@@ -137,7 +137,7 @@ Ohai.plugin(:Platform) do
when /ubuntu/, /debian/, /linuxmint/, /raspbian/, /cumulus/, /kali/, /pop/
# apt-get+dpkg almost certainly goes here
"debian"
- when /centos/, /redhat/, /oracle/, /almalinux/, /rocky/, /scientific/, /enterpriseenterprise/, /xenserver/, /xcp-ng/, /cloudlinux/, /alibabalinux/, /sangoma/, /clearos/, /parallels/, /ibm_powerkvm/, /nexus_centos/, /bigip/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID"
+ when /centos/, /redhat/, /oracle/, /almalinux/, /rocky/, /scientific/, /enterpriseenterprise/, /xenserver/, /xcp-ng/, /cloudlinux/, /alibabalinux/, /sangoma/, /clearos/, /parallels/, /ibm_powerkvm/, /nexus_centos/, /bigip/, /virtuozzo/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID"
# NOTE: "rhel" should be reserved exclusively for recompiled rhel versions that are nearly perfectly compatible down to the platform_version.
# The operating systems that are "rhel" should all be as compatible as rhel7 = centos7 = oracle7 = scientific7 (98%-ish core RPM version compatibility
# and the version numbers MUST track the upstream). The appropriate EPEL version repo should work nearly perfectly. Some variation like the