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 797 times since Tue, Feb 9, 2021
Migrate qcow2 images from KVM to VMWare
Viewed 2430 times since Sat, Feb 20, 2021
Failed to reconfigure virtual machine Test-VM. The operation is not allowed in the current state.
Viewed 940 times since Fri, Dec 31, 2021
How to Export a vSphere ESXi 6.7 Virtual Machine
Viewed 943 times since Sun, Feb 7, 2021
Convert Thick Provision Lazy Zeroed Disk to Thin on VMware ESXi by vmkfstools
Viewed 531 times since Sat, Jan 1, 2022
VMware - Using the OVF Tool to export
Viewed 417 times since Sun, Jan 2, 2022
Shrinking VMDK Virtual Disk Size on VMWare ESXi
Viewed 2632 times since Thu, Jan 6, 2022
QemuIMG - How to Convert VHD to VMDK: A Step-By-Step Guide
Viewed 557 times since Sat, Jan 1, 2022