From 490dbd4ea4a68ffeeb395a64f57eb0407d0a0074 Mon Sep 17 00:00:00 2001 From: itnihao Date: Sat, 25 Mar 2017 00:19:22 +0800 Subject: [PATCH] Add hostinfo Virtualization vmware --- host/host_linux.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/host/host_linux.go b/host/host_linux.go index 70d8ca2..d0adf5c 100644 --- a/host/host_linux.go +++ b/host/host_linux.go @@ -454,6 +454,9 @@ func Virtualization() (string, string, error) { } else if common.StringsContains(contents, "vboxguest") { system = "vbox" role = "guest" + } else if common.StringsContains(contents, "vmware") { + system = "vmware" + role = "guest" } } }