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.
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"
}
Integration with Packer
Parallels Desktop 19 and newer features integration with HashiCorp Packer, where their Parallels Packer builder is now able to create Parallels Desktop virtual machines from ISO images, add and provision software of your choice, and export them in the PVM format. The resulting directory contains all the files required to run the virtual machine portably.
You can find more guides and examples on this page.