You can connect and disconnect virtual devices by using the connectdevice and disconnectdevice options of vmware-cmd.
The following types of devices are supported.
■
| |
■
| |
■
|
These devices must already be defined in the virtual machine virtual hardware list.
The command options connect and disconnect a defined ISO or FLP file or a physical device on the host. After you connect a device, its content can be accessed from the guest OS. For network adapters, the options connect the virtual NIC to its defined port group or disconnect the NIC. This is equivalent to selecting or deselecting the Connected check box in the vSphere Web Client.
You can connect or disconnect devices if the following conditions are met.
■
|
The virtual machine has a guest operating system that supports hot-plug functionality. See the Operating System Installation documentation. |
■
| |
■
|
The following examples illustrate connecting and disconnecting a virtual device. Device names are case sensitive.