When you run the machineOutput option in export mode, OVF Tool reports the following status sequence:
1 | |
2 | |
3 | |
4 | |
5 | |
6 |
To use machine mode to download an OVF from vSphere, you run the following command.
ovftool.exe --machineOutput \ --I:sourceSessionTicket=<session ticket> \ -tt <OVA or OVF> \ -n=<name> \ --overwrite (optional) \ --powerOffSource (optional) \ --chunkSize=<value> (optional) \ --compress=<value> (optional) \ vi://<servername>?moref=<type>:<moref-id> \ <directory>
The type value is either vim.VirtualMachine or vim.VirtualVApp.
When you specify --machineOutput, OVF Tool monitors STDIN, and cancels the operation if it reads the ABORT\n line in stdin.
For an example, see Output from Running machineOutput in Export Mode.