Add support for Amazon Linux 2 (#4555)

This commit is contained in:
Michele Preziuso 2022-03-10 22:47:24 +00:00 committed by GitHub
parent 5e3bcc4a61
commit 68330bd38f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
* Added support for Amazon Linux 2

View file

@ -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 {