lib/facter/facts_utils/virtual_detector.rb in facter-4.0.42 vs lib/facter/facts_utils/virtual_detector.rb in facter-4.0.43
- old
+ new
@@ -20,10 +20,10 @@
def check_dmi
@log.debug('Checking DMI')
vendor = Facter::Resolvers::DmiDecode.resolve(:vendor)
@log.debug("dmi detected vendor: #{vendor}")
- return 'aws' if vendor =~ /Amazon/
+ return 'kvm' if vendor =~ /Amazon/
'xen' if vendor =~ /Xen/
end
def check_gce