Add hostinfo Virtualization hyperv

pull/1336/head
Johan Burati 3 years ago
parent ed37dc27a2
commit e7034b47f2

@ -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"

Loading…
Cancel
Save