Skip to content

Commit 16b3aac

Browse files
authored
Merge pull request #1336 from johanburati/job043
Add hostinfo Virtualization hyperv
2 parents da529f3 + e7034b4 commit 16b3aac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/common/common_linux.go

+3
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ func VirtualizationWithContext(ctx context.Context) (string, string, error) {
149149
if StringsContains(contents, "kvm") {
150150
system = "kvm"
151151
role = "host"
152+
} else if StringsContains(contents, "hv_util") {
153+
system = "hyperv"
154+
role = "guest"
152155
} else if StringsContains(contents, "vboxdrv") {
153156
system = "vbox"
154157
role = "host"

0 commit comments

Comments
 (0)