Previous page

Next page

Locate page in Contents

Print this page

clone_optionsType

Summary:

The Container cloning options.

Type specification:

Extends relocator:clone_optionsType

Adds the following elements:

Name

Min/Max

Type

Description

fast

0..1

none

This parameter is not currently used.

config

0..1

venv_configType

Custom configuration parameters to apply to the resulting Containers.

Currently, you can only set the names of the private area and root directories. If you are creating more than one clone, you can only use the default names as shown in the following example:

/vz/root/$VEID

/vz/private/$VEID

To set other configuration parameters such as name, hostname, IP address, etc., use the vzaenvm/set call on each Container individually after the cloning operation is complete.

veid

0..1

veid_type

Container IDs to use for the clones. If you are creating more than one clone but the number of VEIDs specified here is less than the number of clones (i.e. not enough VEIDs for all of them), the VEIDs for some of the Containers will be allocated automatically from the VEID pool. If the element is omitted, every resulting Container will have an automatically assigned VEID.

Please send us your feedback on this help page