[Pkg-puppet-devel] [facter] 39/352: Include Bochs as Windows virtual machine type.
Stig Sandbeck Mathisen
ssm at debian.org
Sun Apr 6 22:21:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository facter.
commit 17de341e860e3a46a618c57d3363df6dfbb5ef67
Author: ImRaptor <jharmon at pami.ca>
Date: Tue Oct 15 09:38:22 2013 -0600
Include Bochs as Windows virtual machine type.
Update virtual.rb to include Windows VM detection when virtual machine is detected as model 'Bochs'
---
lib/facter/virtual.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/facter/virtual.rb b/lib/facter/virtual.rb
index 1f888f7..4416261 100644
--- a/lib/facter/virtual.rb
+++ b/lib/facter/virtual.rb
@@ -172,6 +172,8 @@ Facter.add("virtual") do
result = "vmware"
when /KVM/
result = "kvm"
+ when /Bochs/
+ result = "bochs"
end
if result.nil? and computersystem.manufacturer =~ /Xen/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git
More information about the Pkg-puppet-devel
mailing list