Previous page

Next page

Locate page in Contents

Print this page

pctl 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

pctl create name { --ostype name | --distribution name } [ --location path ]

pctl create name --ostemplate name [ --location path ]

Parameters

Name

Description

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.

-o, --ostype name

The name of the family of the operating system that will be installed in the virtual machine. Select from one of the following:

  • windows
  • linux
  • feebsd
  • other (specify this option if the operating system you are planning to install is not listed above).

-d, --distribution name

The operating system version that will be installed in the virtual machine. For the full list of OS versions, refer to the pctl man pages.

--ostemplate name

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

--location 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.

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 Management Console. The best way to find out the default versions used in your Parallels installation is by creating a sample virtual machine.

Links

General Syntax , Legend