From 74b8e29cfe0fbe514cd655ea3dbe56185f046206 Mon Sep 17 00:00:00 2001 From: Mo Zhu Date: Tue, 1 Nov 2022 16:24:59 -0700 Subject: [PATCH] add arch and linuxmint to list of linux distros (#8532) * add arch and linuxmint to allowlist of linux distros * fix comma in array * refer to list of linux distros, not allowlist --- changes/issue-8344-add-arch-mint-linux-distros | 1 + server/fleet/hosts.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/issue-8344-add-arch-mint-linux-distros diff --git a/changes/issue-8344-add-arch-mint-linux-distros b/changes/issue-8344-add-arch-mint-linux-distros new file mode 100644 index 0000000000..8a5a286dd5 --- /dev/null +++ b/changes/issue-8344-add-arch-mint-linux-distros @@ -0,0 +1 @@ +* Added arch and linuxmint to list of linux distros so that their data is displayed and host count includes them diff --git a/server/fleet/hosts.go b/server/fleet/hosts.go index 5d11e8dc97..15131b291c 100644 --- a/server/fleet/hosts.go +++ b/server/fleet/hosts.go @@ -294,7 +294,7 @@ func (h *Host) FleetPlatform() string { // HostLinuxOSs are the possible linux values for Host.Platform. var HostLinuxOSs = []string{ - "linux", "ubuntu", "debian", "rhel", "centos", "sles", "kali", "gentoo", "amzn", "pop", + "linux", "ubuntu", "debian", "rhel", "centos", "sles", "kali", "gentoo", "amzn", "pop", "arch", "linuxmint", } func IsLinux(hostPlatform string) bool {