4.2. cdrom
The
cdrom
resource type groups all virtual CD-ROM drive resources in a Red Hat Virtualization environment.
Name | Type | Description | Required | User Creatable | User Updatable |
---|---|---|---|---|---|
--file-id
|
string
|
Defines the file name of the ISO that resides on an ISO storage domain.
|
Yes
|
Yes
|
Yes
|
Example 4.2. Creating a new CD-ROM
[RHEVM shell (connected)]# add cdrom --vm-identifier MyVM --file-id rhel-server-6.2-x86_64-dvd.iso.iso
Example 4.3. Updating a CD-ROM
[RHEVM shell (connected)]# update cdrom --vm-identifier MyVM --file-id rhel-server-6.3-x86_64-dvd.iso.iso
Example 4.4. Deleting a CD-ROM
[RHEVM shell (connected)]# remove cdrom --vm-identifier MyVM rhel-server-6.3-x86_64-dvd.iso.iso