diff --git a/changes/issue-4555_add_support_for_amazon_linux_2 b/changes/issue-4555_add_support_for_amazon_linux_2 new file mode 100644 index 0000000000..05f630557a --- /dev/null +++ b/changes/issue-4555_add_support_for_amazon_linux_2 @@ -0,0 +1 @@ +* Added support for Amazon Linux 2 diff --git a/server/fleet/hosts.go b/server/fleet/hosts.go index d1121fb00d..7418cf59ab 100644 --- a/server/fleet/hosts.go +++ b/server/fleet/hosts.go @@ -218,7 +218,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", + "linux", "ubuntu", "debian", "rhel", "centos", "sles", "kali", "gentoo", "amzn", } func isLinux(hostPlatform string) bool {