gcontini
2020-11-08 ee082d3120f29af98bd8f1e933a9a3706e1f6386
src/library/os/execution_environment_common.cpp
@@ -24,7 +24,7 @@
   {"VBOX", VIRTUALBOX}};
const unordered_map<string, LCC_API_VIRTUALIZATION_DETAIL> vm_vendors{{"VMWARE", VMWARE},
                                                     {"MICROSOFT", HV},
                                                     {"MICROSOFT", HV},
                                                     {"PARALLELS", PARALLELS},
                                                     {"VITRUAL MACHINE", V_OTHER},
                                                     {"INNOTEK GMBH", VIRTUALBOX},
@@ -98,8 +98,8 @@
      } else if (bios_vendor.find("AWS") != string::npos || bios_description.find("AMAZON") != string::npos ||
               sys_vendor.find("AWS") != string::npos) {
         result = AWS;
      } else if (bios_description.find("HP-COMPAQ") != string::npos || bios_description.find("ASUS") ||
               bios_description.find("DELL")) {
      } else if (bios_description.find("HP-COMPAQ") != string::npos ||
               bios_description.find("ASUS") != string::npos || bios_description.find("DELL") != string::npos) {
         result = ON_PREMISE;
      }
   }