Skip to content

Commit

Permalink
Fix virtual and is_virtual facts for Nutanix (AHV) VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfuhrer committed Aug 5, 2019
1 parent 542e36d commit 3bb3733
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/facts/windows/virtualization_resolver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ namespace facter { namespace facts { namespace windows {
make_tuple("Bochs", string(vm::bochs)),
make_tuple("Google", string(vm::gce)),
make_tuple("OpenStack", string(vm::openstack)),
make_tuple("AHV", string(vm::ahv)),
};

auto vals = _wmi->query(wmi::computersystem, {wmi::manufacturer, wmi::model});
Expand Down

0 comments on commit 3bb3733

Please sign in to comment.