vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
163 stars 104 forks source link

Extend vapp commands to attach & detach ISO media (CD/DVD image) #256

Open jondwaite opened 5 years ago

jondwaite commented 5 years ago

There doesn't appear to be any method currently to attach/detach an ISO file to/from a vApp VM.

It would make most sense to me to extend the existing vcd vapp attach and vcd vapp detach commands for this functionality (and to ensure that the vcd catalog upload and vcd catalog download commands can deal with uploading/downloading ISO images).

Main use case would be for vApps/VMs requiring additional information passed to them during instantiation (e.g. cloud-init based Linux distributions) could have an appropriate userdata.txt file passed to them in an ISO image via this mechanism without needing VM network connectivity or direct VIX API access via vCenter.

rocknes commented 5 years ago

vcd catalog upload/download is capable of uploading/downloading iso files. However the rest of functionality needs to be implemented.