与 Chef/Ohai 整合

如果您使用 Chef 交付 Parallels 虚拟机或运行 Parallels Desktop 的主机系统,则可以查看使用的系统虚拟化类型的方案是否从 Parallels 进行虚拟化。为此,请使用 node['virtualization'] 属性。该属性是在 chef-client 运行期间 Ohai 设置的。

您可以在主机系统中看到以下信息:

并在虚拟系统中看到以下信息:

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.

Was this topic helpful?