From: Katy Feng Date: Mon, 13 Nov 2023 20:07:34 +0000 (-0800) Subject: Guest identification: Asianux Linux is now Miracle Linux X-Git-Tag: stable-12.4.0~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7c2898e1a2b61948efd7bfd582a36a0e9363b3b;p=thirdparty%2Fopen-vm-tools.git Guest identification: Asianux Linux is now Miracle Linux The Asianux distro rebranded itself as Miracle Linux. Our infrastructure already knows about Asianux however the guest identification that runs in tools does not. Add the necessary aliasing code to the "in guest" code. --- diff --git a/open-vm-tools/lib/misc/hostinfoPosix.c b/open-vm-tools/lib/misc/hostinfoPosix.c index e764bd93e..2fab24993 100644 --- a/open-vm-tools/lib/misc/hostinfoPosix.c +++ b/open-vm-tools/lib/misc/hostinfoPosix.c @@ -1079,7 +1079,7 @@ HostinfoSetAmazonShortName(const ShortNameSet *entry, // IN: Unused * * HostinfoSetAsianuxShortName -- * - * Set short name for the Asianux distro. + * Set short name for the Asianux (a.k.a. Miracle Linux) distro. * * Return value: * TRUE success @@ -1420,6 +1420,7 @@ static const ShortNameSet shortNameArray[] = { { "linux-ppc", STR_OS_LINUX_PPC, HostinfoGenericSetShortName }, { "mandrake", STR_OS_MANDRAKE, HostinfoGenericSetShortName }, { "mandriva", STR_OS_MANDRIVA, HostinfoGenericSetShortName }, +{ "miracle linux", NULL, HostinfoSetAsianuxShortName }, { "mklinux", STR_OS_MKLINUX, HostinfoGenericSetShortName }, { "opensuse", STR_OS_OPENSUSE, HostinfoGenericSetShortName }, { "oracle", NULL, HostinfoSetOracleShortName },