Skip to content

Instantly share code, notes, and snippets.

@clburlison
Created March 15, 2018 06:03
Show Gist options
  • Save clburlison/dc46d3eb219080f52890e5b12fea29f0 to your computer and use it in GitHub Desktop.
Save clburlison/dc46d3eb219080f52890e5b12fea29f0 to your computer and use it in GitHub Desktop.
ohai/pull/1164 - vbox & vmware
Last login: Wed Mar 14 22:54:07 on ttys000
vagrants-MacBook-Pro:embedded vagrant$ ohai hardware
[2018-03-14T22:54:39-07:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
{
"SMC_version_system": "2.3f35",
"apple_rom_info": "vboxVer_5.2.8vboxRev_121009",
"boot_rom_version": "VirtualBox",
"current_processor_speed": "2.71 GHz",
"l2_cache_core": "256 KB",
"l3_cache": "16 MB",
"machine_model": "MacBookPro13,3",
"machine_name": "MacBook Pro",
"number_processors": 2,
"packages": 1,
"physical_memory": "4 GB",
"platform_UUID": "9D929512-519B-4747-AB72-99CB79740518",
"serial_number": "0",
"operating_system": "Mac OS X",
"operating_system_version": "10.13.3",
"build_version": "17D47",
"architecture": "x86_64",
"storage": [
{
"name": "Macintosh HD",
"bsd_name": "disk0s2",
"capacity": 42089914368
},
{
"name": "Chef Client",
"bsd_name": "disk1s1",
"capacity": 524247040
}
],
"battery": {
}
}
Pre-ohai/pull/1164 patch
vagrants-MacBook-Pro:embedded vagrant$ ohai virtualization
[2018-03-14T22:56:24-07:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
{
"systems": {
}
}
Post-ohai/pull/1164 patch
vagrants-MacBook-Pro:embedded vagrant$ ohai virtualization
[2018-03-14T22:57:02-07:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
{
"systems": {
"vbox": "guest"
},
"system": "vbox",
"role": "guest"
}
vagrants-MacBook-Pro:embedded vagrant$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment