Skip to content

Commit

Permalink
Merge pull request #485 from linl-rh/master
Browse files Browse the repository at this point in the history
Add virt-what check for system on google cloud.
  • Loading branch information
linl-rh authored Dec 3, 2024
2 parents 8dbf70d + 42d4b8e commit ad24119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions os_tests/tests/test_general_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,8 @@ def test_check_virtwhat(self):
elif 'VMware' in lscpu_output:
self.log.info("Found it is a vmware system!")
self.assertIn('vmware', virt_what_output)
elif utils_lib.is_gcp(self):
self.assertEqual('google_cloud\nkvm\n', virt_what_output)
elif 'KVM' in lscpu_output:
if utils_lib.is_ahv(self):
self.log.info("Found it is a Nutanix AHV system!")
Expand Down

0 comments on commit ad24119

Please sign in to comment.