From: Kruti Date: Fri, 3 May 2024 16:05:44 +0000 (-0700) Subject: GuestOS: Explicitly identify Flatcar Linux X-Git-Tag: stable-12.5.0~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f68542609c84b573b0faee31acd4aa5dfffc94b;p=thirdparty%2Fopen-vm-tools.git GuestOS: Explicitly identify Flatcar Linux We support a VMX guestOS string for Flatcar Linux ("flatcar-64"). Update the guest identification code to report Flatcar, rather than generically (other linux - 64). --- diff --git a/open-vm-tools/lib/misc/hostinfoPosix.c b/open-vm-tools/lib/misc/hostinfoPosix.c index e07839987..0772f104e 100644 --- a/open-vm-tools/lib/misc/hostinfoPosix.c +++ b/open-vm-tools/lib/misc/hostinfoPosix.c @@ -1415,6 +1415,7 @@ static const ShortNameSet shortNameArray[] = { /* Red Hat must come before the Enterprise Linux entry */ { "enterprise linux", NULL, HostinfoSetOracleShortName }, { "fedora", STR_OS_FEDORA, HostinfoGenericSetShortName }, +{ "flatcar", STR_OS_FLATCAR, HostinfoGenericSetShortName }, { "gentoo", STR_OS_GENTOO, HostinfoGenericSetShortName }, { "immunix", STR_OS_IMMUNIX, HostinfoGenericSetShortName }, { "linux-from-scratch", STR_OS_LINUX_FROM_SCRATCH, HostinfoGenericSetShortName },