Home » Categories » Virtualization » VMware

VMware - Using the OVF Tool deploy


# Use the following command to deploy a OVF:
ovftool -ds=DestinationDatastore -n=DestinationVMName OVF.ovf vi://username:password@vCenter2/Datacenter2/host/Cluster2

ovftool –name="NMIS9" -dm="thin" -ds=datastore_name-number -nw="network_name-number” Opmantek-VM9-Centos7.2003-3-64bit.ova vi://user:escaped_password@host_ip_address

# Worded Sample
ovftool -ds=datastore3 -dm="thin" -n="MikroTikOS7" -nw="VM Network" MikroTikOS6.ova vi://[email protected]

# If changed .ovf file add "--skipManifestCheck" to ovftool command, such as:

ovftool --skipManifestCheck -ds=datastore3 -dm="thin" -n="MikroTikOS7" -nw="VM Network" MikroTikOS6.ovf vi://[email protected]



Refs:

https://kb.vmware.com/s/article/1038709

https://communities.vmware.com/t5/Open-Virtualization-Format-Tool/ovftool-VM-gt-ova-f-fails-with-SHA1-digest-of-file-disk-iso-does/td-p/2185225

 

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
Convert qcow2 to vmdk
Viewed 1079 times since Tue, Feb 9, 2021
Reclaim Used Space with VMKFSTOOLS - Punchzero
Viewed 1218 times since Sat, Jan 1, 2022
Convert Thick Provision Lazy Zeroed Disk to Thin on VMware ESXi by vmkfstools
Viewed 863 times since Sat, Jan 1, 2022
OVFTool - Error: SHA digest of file ExortedVM.ovf does not match manifest
Viewed 2200 times since Mon, Jan 3, 2022
VMware - Using the OVF Tool to export
Viewed 768 times since Sun, Jan 2, 2022
Reclaiming disk space from thin provisioned VMDK files on ESXi
Viewed 2033 times since Sun, Feb 27, 2022
VMware OVFTool - Deploy .ovf, .ova Error:vim.fault.FileNotFound
Viewed 1714 times since Mon, Jan 3, 2022