How do I connect/disconnect a CDROM drive from a virtual machine from the command-line? I don't see anything in the VIX reference.
|
feedback
|
|
You can do this with the vmware-vim-cmd line tool. For example, if your VM is vmid 112, and the CDROM deviceKey is 3002, the command will be:
You can discover the vmid with the command:
Then you can find the device ID with the command:
| |||||||
feedback
|