Before you can start using virtual machine configuration samples, you need to create at least one configuration sample. The easiest way of doing this is to follow the steps below:
-
Create a virtual machine configuration, for example:
# prlctl create VmConfiguration
-
Set the parameters for the virtual machine configuration as you want them to be. For example, you can use the
prlctl set
command to set the required amount of memory and disk space. All your parameters are saved to theconfig.pvs
file of theVmConfiguration
virtual machine. (For the list of parameters that can be applied from a configuration sample, see Section 3.9.3, “Parameters Applied from Configuration Samples” below.) -
Copy the
config.pvs
file to the/etc/parallels/samples
directory. If this directory does not exist, create it:# mkdir /etc/parallels/samples # cp /vz/vmprivate/VmConfiguration/config.pvs /etc/parallels/samples/configMySQL.pvs
The latter command copies the config.pvs
file to the configMyDB.pvs
file.