This group of parameters is used to add and configure virtual optical disk drives, such as DVD or CD drives.
Syntax
prlctl set ID|VM_name --device-add cdrom --image image_name
[--iface ide|scsi] [--position number]
[--enable|--disable] [--connect|--disconnect]
prlctl set ID|VM_name --device-add cdrom --device device_name
[--iface ide|scsi] [--position number]
[--enable|--disable] [--connect|--disconnect]
prlctl set ID|VM_name --device-set cdromN
{--device name|--image name} [--iface ide|scsi]
[--position number][--enable|--disable]
[--connect|--disconnect]
Parameters
Name |
Description |
|
The virtual machine ID. |
|
The virtual machine name. |
|
Adds a DVD/CD drive to the virtual machine. You can connect up to four IDE devices and up to seven SCSI devices to a virtual machine. This includes virtual hard disks and DVD/CD drives. |
|
Modifies the parameters of an existing virtual optical disk. |
|
Specifies the virtual device type (in this instance, a CD or DVD drive). |
|
The name of the DVD/CD drive to modify. The |
|
The name of the physical optical disk to connect to the virtual machine. |
|
The name of an existing disk image file to mount in the virtual machine. Currently, the following image file formats are supported: |
|
Interface type:
|
|
The SCSI or IDE device identifier to be used for the DVD/CD drive. The allowed ID ranges are the following:
You can use one of the following formats for specifying IDs: |
|
Enables the specified DVD/CD drive. All newly added drives are enabled by default (provided the |
|
Disables the specified optical disk drive. The disk drive itself is not removed from the virtual machine configuration. |
|
Automatically connect the specified optical disk drive during the virtual machine startup process. |
|
Do not automatically connect the specified optical disk drive during the virtual machine startup process. |
Links