Previous page

Next page

Locate page in Contents

Print this page

prlctl create

Creates a new virtual machine. A virtual machine can be created from scratch or from a virtual machine template. When created from scratch, the target operating system type or version must be specified. To create a virtual machine from a template, the template name must be passed to the command.

Syntax

prlctl create <vm_name> [ options ]

Options

Name

Description

<vm_name>

User-defined new virtual machine name. If the name consists of two or more words separated by spaces, it must be enclosed in quotes.

-d, --distribution <name|list>

The operating system distribution the virtual machine will be optimized for. For the full list of supported distributions, refer to the prlctl man pages.

--ostemplate <template_name>

The name of the virtual machine template from which to create the new virtual machine. Use the prlctl list --template command to obtain the list of the available templates.

--location <vm_path>

Name and path of the directory where to store the new virtual machine files. If this parameter is omitted, the files will be crated in the default virtual machine directory.

--uuid <uuid>

A custom UUID to assign to the virtual machine.

Note: You can use either --distribution or --ostemplate , not both options at once.

Remarks

When creating a virtual machine from scratch, you may specify the operating system family or version. If an operating system version is specified using the --distribution parameter, the virtual machine will be configured for that operating system. If an operating system family is specified using the --ostype parameter, the virtual machine will be configured for the default version of this OS family. The default versions are determined internally by Parallels and are kept in sync with other Parallels management tools such as Parallels Virtual Automation. The best way to find out the default versions used in your Parallels installation is by creating a sample virtual machine.