From 68330bd38fd6c6561b9578759df5cb36f2b2d363 Mon Sep 17 00:00:00 2001 From: Michele Preziuso Date: Thu, 10 Mar 2022 22:47:24 +0000 Subject: [PATCH] Add support for Amazon Linux 2 (#4555) --- changes/issue-4555_add_support_for_amazon_linux_2 | 1 + server/fleet/hosts.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/issue-4555_add_support_for_amazon_linux_2 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 {