Integration with Chef/Ohai

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"
 
}

Last updated

© 2024 Parallels International GmbH. All rights reserved.