2.10.3. Deploying Templates

To convert a template into a virtual machine or container, use the --ostemplate option of the prlctl create command. For example, to convert the template1 template to the ConvertedVM virtual machine, you can run this command:

# prlctl create ConvertedVM --ostemplate template1

To check that the virtual machine has been successfully created, use the prlctl list -a command:

# prlctl list -a
STATUS       IP_ADDR         NAME
running      10.12.12.101    MyVM
stopped      10.12.12.34     ConvertedVM

The template itself is left intact and can be used for creating other containers:

# prlctl list -t
{4ad11c28-9f0e-4086-84ea-9c0487644026} win-2008 template1
{64bd8fea-6047-45bb-a144-7d4bba49c849} rhel     template2