From 9a801dec8d46866d729cca66a176db4d58e0c29c Mon Sep 17 00:00:00 2001 From: Tomas Touceda Date: Tue, 15 Nov 2022 12:26:18 -0300 Subject: [PATCH] detect void as a linux platform as well (#8717) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jan Christian Grünhage --- changes/void-is-linux | 1 + server/fleet/hosts.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/void-is-linux diff --git a/changes/void-is-linux b/changes/void-is-linux new file mode 100644 index 0000000000..6f91f62c5a --- /dev/null +++ b/changes/void-is-linux @@ -0,0 +1 @@ +* Add void linux to the list of recognized distros. diff --git a/server/fleet/hosts.go b/server/fleet/hosts.go index c7c4485ef8..3b338d0a2a 100644 --- a/server/fleet/hosts.go +++ b/server/fleet/hosts.go @@ -301,7 +301,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", "arch", "linuxmint", + "linux", "ubuntu", "debian", "rhel", "centos", "sles", "kali", "gentoo", "amzn", "pop", "arch", "linuxmint", "void", } func IsLinux(hostPlatform string) bool {