add hypervisor detection

This commit is contained in:
Pete Fraedrich
2020-04-24 13:50:19 -04:00
parent 3e24f97cf5
commit 59c212fd72
+1 -1
View File
@@ -52,7 +52,7 @@ func BIOSInfo() (*BIOS, error) {
}
for h, s := range hypervisors {
for _, i := range s {
re, err := regexp.Compile(`.*` + i + `.*`)
re, err := regexp.Compile(`(?igm).*` + i + `.*`)
if err != nil {
return b, nil
}