I am having trouble adding a floppy drive to an existing VM. If I add a floppy via the vSphere client, I can remove it via vmreconfig, I just can't add one from vmreconfig. When I run the script, this is what I get:
perl /usr/lib/vmware-vcli/apps/vm/vmreconfig.pl --server 192.168.47.129 --username xxx --password xxx --filename /tmp/vmreconfig.xml --schema /tmp/vmreconfig.xsd
Adding floppy 'Floppy drive 1' . . .
Reconfiguration failed: The Device configuration is not valid
Following is the detailed error:
SOAP Fault:
-----------
Fault string: Invalid configuration for device '0'.
Fault detail: InvalidDeviceSpec
I originally couldn't even get this far, but through some other searches, I found that the existing scripts were looking specifically for the LSI Logic Parallel SCSI controller. I first tried setting my VM to have that controller, then I fixed the logic in the script (in VMUtil.pm, change VirtualLsiLogicController to VirtualSCSIController in sub find_scsi_controller_device). Neither change made any difference. I also tried pointing it at a VM created via vmcreate and one created from the vSphere client, no change either way. I'm certainly not a Perl expert, so I'm hoping can point me at the right place to start troubleshooting this.
FWIW, I'm using VMware-vSphere-Perl-SDK-5.5.0-2043780.x86_64.tar.gz on CentOS 7 64-bit.
Thanks in advance!