When cloning a virtual machine or container, you can also override the following default directories:
-
default directory
/vz/vmprivate/<dest_UUID>
storing the files of a cloned virtual machine (where<dest_UUID>
denotes the name of the resulting virtual machine). To store the files of theClonedVM
virtual machine in a custom directory, you can run the following command:# prlctl clone MyVM --name ClonedVM --dst /customVMs
In this case all virtual machine files will be placed to the
/customVMs
directory. Note that the specified directory must exist on the server; otherwise, the command will fail. -
default directory
/vz/private/<dest_UUID>
defining the container private area (where<dest_UUID>
denotes the UUID of the resulting container). To define a custom private area path for the containerMyCT2
, you can execute the following command:
# prlctl clone MyCT1 --name MyCT2 --dst /vz/private/customCTs