mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #23843 from The-Loeki/patch-1
Fix erroneous virtual:physical core grain detection
This commit is contained in:
commit
060902fefa
1 changed files with 2 additions and 0 deletions
|
@ -559,6 +559,8 @@ def _virtual(osdata):
|
|||
grains['virtual'] = 'kvm'
|
||||
if 'Vendor: Bochs' in output:
|
||||
grains['virtual'] = 'kvm'
|
||||
if 'Manufacturer: Bochs' in output:
|
||||
grains['virtual'] = 'kvm'
|
||||
if 'BHYVE BVXSDT' in output:
|
||||
grains['virtual'] = 'bhyve'
|
||||
# Product Name: (oVirt) www.ovirt.org
|
||||
|
|
Loading…
Add table
Reference in a new issue