We need to return virtual_facts after VMWare platform detection (#38237)
This commit is contained in:
parent
ca164749b4
commit
4f36d7965e
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ class LinuxVirtual(Virtual):
|
||||||
if vendor_name.startwith('VMware'):
|
if vendor_name.startwith('VMware'):
|
||||||
virtual_facts['virtualization_type'] = 'VMware'
|
virtual_facts['virtualization_type'] = 'VMware'
|
||||||
virtual_facts['virtualization_role'] = 'guest'
|
virtual_facts['virtualization_role'] = 'guest'
|
||||||
|
return virtual_facts
|
||||||
|
|
||||||
# If none of the above matches, return 'NA' for virtualization_type
|
# If none of the above matches, return 'NA' for virtualization_type
|
||||||
# and virtualization_role. This allows for proper grouping.
|
# and virtualization_role. This allows for proper grouping.
|
||||||
|
|
Loading…
Reference in a new issue