]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Guest identification: Asianux Linux is now Miracle Linux
authorKaty Feng <fkaty@vmware.com>
Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)
committerKaty Feng <fkaty@vmware.com>
Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)
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.

open-vm-tools/lib/misc/hostinfoPosix.c

index e764bd93ebcc04e2366563f4dd69d7c620770638..2fab249932e81bab04f9bbf9617dfd688cedc184 100644 (file)
@@ -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  },