When I run ovftool to create an OVA from a VM who's CD drive has been configured as Client Device, it creates the OVA in such a way that when I deploy the OVA, the CD drive is configured as a Host Device. I was expecting it to be created as Client Device. However, if I export the OVA from vsphere and deploy it again, the CD drive gets created as the original source, that is, as a Client Device.
Is this a bug in ovftool or should I be using some option to ovftool to ensure the CD drive is defined in the .ovf as a Client Device.