mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
detect void as a linux platform as well (#8717)
Co-authored-by: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
This commit is contained in:
parent
ca13659fe0
commit
9a801dec8d
2 changed files with 2 additions and 1 deletions
1
changes/void-is-linux
Normal file
1
changes/void-is-linux
Normal file
|
|
@ -0,0 +1 @@
|
|||
* Add void linux to the list of recognized distros.
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue