If you want to run Mac Osx Server on a virtual machine (VM) with Vmware, you need to follow some specific steps and meet some requirements. In this article, we will guide you through the process of installing Mac Osx Server on a VM with Vmware Fusion, which is a software that allows you to create and run VMs on Mac computers.
A Mac Osx Server restore image is an installation media file for a specific version of Mac Osx Server. You can download the latest supported Mac Osx Server image from Apple over the network using the VZMacOSRestoreImage class function[^1^]. Alternatively, you can use a local URL if you already have a restore image on disk.
Running a Mac Osx Server VM requires a valid VZMacPlatformConfiguration, a VZMacOSBootLoader, and a configuration compatible with the VZMacOSRestoreImage. A VZMacOSRestoreImage can contain installation media for multiple Mac hardware models (VZMacHardwareModel) and the current host may not support some of these hardware models. Use the mostFeaturefulSupportedConfiguration property to determine the hardware model and configuration requirements that provides the most complete feature set compatible with the current host[^1^]. The VZMacPlatformConfiguration configuration encapsulates all the necessary unique components for booting and running Mac Osx Server on Apple silicon, these are:
hardwareModel of the VZMacOSRestoreImage.hardwareModel of the VZMacOSRestoreImage.To configure the VZMacPlatformConfiguration for installation:
VZMacPlatformConfiguration.VZMacPlatformConfiguration.hardwareModel to the VZMacOSConfigurationRequirements.hardwareModel.VZMacAuxiliaryStorage with init (creatingStorageAt:hardwareModel:options:) using the VZMacOSConfigurationRequirements.hardwareModel.VZMacAuxiliaryStorage on VZMacPlatformConfiguration.auxiliaryStorage.To install a Mac Osx Server using a VZMacOSInstaller with a VM instance and an image on the local filesystem, follow these steps[^1^]: