govc-stage-ova

Migrate virtual NIC (vmk) from Standard vSwitch to Distributed vSwitch

This tasks stages the specified OVA in govc/ova-location Param inside the container Context. Unfortunately, the govc command does not appear to have support to specify remote resources as an HTTP/S URL reference.

Use of golang templating constructs is allowed in the govc/ova-location Param. See param for more documentation details.

The OVA specified in the Param will be downloaded inside the container as a file named /ova/import.ova, which if that file exists, the govc-command Task will append to the end of the executed govc arguments.