Merge pull request #36800 from Firm/patch-1

Detect KVM on Proxmox
This commit is contained in:
Mike Place 2016-10-06 20:18:25 +09:00 committed by GitHub
commit f3ee19d999

View File

@ -636,6 +636,9 @@ def _virtual(osdata):
grains['virtual'] = 'Parallels'
elif 'Manufacturer: Google' in output:
grains['virtual'] = 'kvm'
# Proxmox KVM
elif 'Vendor: SeaBIOS' in output:
grains['virtual'] = 'kvm'
# Break out of the loop, lspci parsing is not necessary
break
elif command == 'lspci':