Running the Machine Mode
Export from vSphere Operation
When you run the machineOutput option in
export mode, OVF Tool reports the following status sequence:
- AUTHENTICATION (zero or more)
- MANIFEST (zero or one)
- CERTIFICATE (zero or one)
- PROGRESS (one or more)
- TARGET_ID (exactly one)
- RESULT (exactly one)
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.