setup virtualization: fix RHEV product_name (#73919)

This commit is contained in:
Martin Nečas 2021-03-23 16:48:01 +01:00 committed by GitHub
parent 4780e10a2b
commit a520da0584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ class LinuxVirtual(Virtual):
if not found_virt:
virtual_facts['virtualization_type'] = 'RHV'
found_virt = True
elif product_family == 'RHEV Hypervisor':
elif product_name == 'RHEV Hypervisor':
guest_tech.add('RHEV')
if not found_virt:
virtual_facts['virtualization_type'] = 'RHEV'