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
QemuIMG - How to Convert VHD to VMDK: A Step-By-Step Guide
Viewed 1203 times since Sat, Jan 1, 2022
Reclaiming disk space from thin provisioned VMDK files on ESXi
Viewed 2344 times since Sun, Feb 27, 2022
VMware - Using the OVF Tool to export
Viewed 999 times since Sun, Jan 2, 2022
Reclaim Used Space with VMKFSTOOLS - Punchzero
Viewed 1427 times since Sat, Jan 1, 2022
Convert qcow2 to vmdk
Viewed 1321 times since Tue, Feb 9, 2021
Convert Thick Provision Lazy Zeroed Disk to Thin on VMware ESXi by vmkfstools
Viewed 1085 times since Sat, Jan 1, 2022
Shrinking VMDK Virtual Disk Size on VMWare ESXi
Viewed 4214 times since Thu, Jan 6, 2022