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
This commit is contained in:
Mo Zhu 2022-11-01 16:24:59 -07:00 committed by GitHub
parent 1571837d75
commit 74b8e29cfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
* Added arch and linuxmint to list of linux distros so that their data is displayed and host count includes them

View file

@ -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 {