Open Kayanel opened 2 months ago
Hey @Kayanel!
Which custom Linux build, that you're trying to manage in Fleet, isn't supported?
I assume the one you're trying to manage isn't included in the HostLinuxOSs
list: https://github.com/fleetdm/fleet/blob/main/server/fleet/hosts.go#L841
Hi @noahtalerman
I assume the one you're trying to manage isn't included in the HostLinuxOSs
That’s right, that’s why I’m asking to add the ability to specify distributions through an external variable.
Let this list remain, and the parameters passed to the variable are added to the list. (https://github.com/fleetdm/fleet/blob/main/server/fleet/hosts.go#L841)
Sample proposal:
var HostLinuxOSs = []string { "linux", "ubuntu", "debian", "rhel", "centos", "sles", "kali", "gentoo", "amzn", "pop", "arch", "linuxmint", "void ", "nixos", "endeavouros", "manjaro", "opensuse-leap", "opensuse-tumbleweed", EXT_VAR }
and when configuring, indicate: EXT_VAR = '"my build1", "my build2"'
Thanks @Kayanel!
Heads up that this request wasn't prioritized at the most recent feature fest on 2024-05-09.
However, please feel free to open a PR w/ the above proposal!
We'll help get the PR merged.
If you're not up for opening a PR, we'll take another look during the next feature fest call.
Hey @Kayanel heads up, here's a recent PR (merged) that added a new Linux distro: https://github.com/fleetdm/fleet/pull/19011
Please implement the ability to pass the value of the "HostLinuxOSs" variable from the hosts.go module as an external parameter. This is necessary to use the fleet product when working with custom Linux builds based on popular distributions.