Previous page

Next page

Locate page in Contents

Print this page

Integration With Chef/Ohai

Note: This functionality is available in Parallels Desktop for Mac Pro Edition only.

If you're using Chef to provision your Parallels virtual machines or host systems running Parallels Desktop, you can check in the recipe that the type of system virtualization being used is virtualization from Parallels. To do this, use the node['virtualization'] attribute. This attribute is set by Ohai during the chef-client run.

Note: The Ohai version must be 8.6.0 or later.

You will see the following in the host system:

"virtualization": {

"systems": {

"parallels": "host"

},

"system": "parallels",

"role": "host"

And the following in the guest system:

"virtualization": {

"systems": {

"parallels": "guest"

},

"system": "parallels",

"role": "guest"

}