Issue #19761 has been updated by Luis Fernandez.

I've found this page on MSDN 
http://blogs.technet.com/b/tonyso/archive/2009/08/20/hyper-v-how-to-detect-if-you-are-inside-a-vm.aspx

It suggests using Win32_BaseBoard (manufacturer, product,...) for identifying 
whether the OS is running inside a VM, it seems feasible for Hyper-V and 
VirtualBox, I'll test with more hypervisors.

I'll appreciate your feedback running the following command on other 
hypervisors, just run from cmd.exe:

"wmic baseboard get manufacturer, product, serialnumber, version"

Manufacturer           Product          SerialNumber                      
Version
Microsoft Corporation  Virtual Machine  6330-5258-4817-8283-4202-4352-05  7.0
Oracle Corporation     VirtualBox       0                                 1.2


----------------------------------------
Feature #19761: Virtual fact is not supported on Windows
https://projects.puppetlabs.com/issues/19761#change-87083

* Author: Luis Fernandez
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: windows
* Target version: 
* Keywords: 
* Branch: 
* Affected Facter version: 
----------------------------------------
The virtual fact is not yet supported on Windows, we could track ideas of how 
to implement it in this ticket.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to