Import an OVF from command line

From Cramsession
Revision as of 00:44, 3 May 2026 by Mflavell (talk | contribs)
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials

Computer Notes > VSphere > Import an OVF from command line


  • Download and extract the OVF tool:
Link to OVF tool


  • use the command from the foler:

./ovftool --lax --allowExtraConfig --noSSLVerify --name="SSPI" \ --datastore="nfs" \ --network="pg-01" \ /root/VMware-Security-Services-Platform-Installer-5.2.0.0.0.25273509.ova \ 'vi://administrator%40vsphere.local:VMware1VMware!@vc.test/dc-01/host/cluster-01'

Replace:

  • name with the VM name
  • datasource with the datasource
  • network with the port group
  • username
  • password
  • Everything after @ relates to the vcenter, dc host and cluster, get this from the GUI.