From 001699bed7b3e9cf92b88fb1befb89f8caad9912 Mon Sep 17 00:00:00 2001 From: Lammert Hellinga Date: Wed, 19 Jan 2022 22:37:51 +0100 Subject: [PATCH] Let almalinux be part of the rhel family --- host/host_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/host_linux.go b/host/host_linux.go index 29ad9ab86..def9a67f7 100644 --- a/host/host_linux.go +++ b/host/host_linux.go @@ -283,7 +283,7 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil family = "debian" case "fedora": family = "fedora" - case "oracle", "centos", "redhat", "scientific", "enterpriseenterprise", "amazon", "xenserver", "cloudlinux", "ibm_powerkvm", "rocky": + case "oracle", "centos", "redhat", "scientific", "enterpriseenterprise", "amazon", "xenserver", "cloudlinux", "ibm_powerkvm", "rocky", "almalinux": family = "rhel" case "suse", "opensuse", "opensuse-leap", "opensuse-tumbleweed", "opensuse-tumbleweed-kubic", "sles", "sled", "caasp": family = "suse"