Virtual machine configuration

Use the parameters described in this section with the recover vm command when creating a new virtual machine on an ESX(i) or Hyper-V host.

vmram

--vmram=<memory size>{mb|gb}

Memory sizeof the new virtual machine. If the parameter is not specified, the value is as follows:

Examples:

--vmram=512mb
--vmram=1gb

vmcpu

--vmcpu=<number of CPUs>

Number of virtual processorsof the new virtual machine. If the parameter is not specified, the value is 1.

Virtual disk parameters

If you specify one of the --vmdisk_size, --vmdisk_type, and --vmdisk_provisioning parameters, you must specify all of them.

vmdisk_size

--vmdisk_size=<disk sizes>

Sizes of the virtual disks to be created. The software assigns each value specified in the --vmdisk_size parameter to the corresponding disk specified in the --disk parameter. If the number of values of the --diskand --vmdisk_size parameters differ, the command will fail.

You can specify values in megabytes and gigabytes.

Example:

--vmdisk_size=100gb,512mb,120gb

If the parameter is not specified, the software will reproduce the sizes of the original machine's disks.

vmdisk_type

--vmdisk_type=<disk types>

Interface types of the virtual disks to be created. The available values are ide and scsi. The software assigns each value specified in the --vmdisk_type parameter to the corresponding disk specified in the --disk parameter. If the number of values of the --disk and --vmdisk_type parameters differ, the command will fail.

Example:

--vmdisk_type=ide,scsi,scsi

If the parameter is not specified, the software assigns the following values.

vmdisk_provisioning

--vmdisk_provisioning=<disk provisioning types>

Provisioning types of the virtual disks to be created. The available values are thick and thin. The software assigns each value specified in the --vmdisk_provisioning parameter to the corresponding disk specified in the --disk parameter. If the number of values of the --disk and --vmdisk_provisioning parameters differ, the command will fail.

Example:

--vmdisk_provisioning=thin,thin,thick

If the parameter is not specified, the software assigns the following values.