Skip to content

Commit

Permalink
Merge pull request #1336 from johanburati/job043
Browse files Browse the repository at this point in the history
Add hostinfo Virtualization hyperv
  • Loading branch information
shirou committed Sep 30, 2022
2 parents da529f3 + e7034b4 commit 16b3aac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/common/common_linux.go
Expand Up @@ -149,6 +149,9 @@ func VirtualizationWithContext(ctx context.Context) (string, string, error) {
if StringsContains(contents, "kvm") {
system = "kvm"
role = "host"
} else if StringsContains(contents, "hv_util") {
system = "hyperv"
role = "guest"
} else if StringsContains(contents, "vboxdrv") {
system = "vbox"
role = "host"
Expand Down

0 comments on commit 16b3aac

Please sign in to comment.