Import an OVF from command line: Difference between revisions

From Cramsession
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
* use the command from the foler:
* use the command from the foler:


::: ./ovftool --lax --allowExtraConfig --noSSLVerify --name="SSPI" \
./ovftool --lax --allowExtraConfig --noSSLVerify --name="SSPI" \
--datastore="nfs" \
--datastore="nfs" \
--network="pg-01" \
--network="pg-01" \
/root/VMware-Security-Services-Platform-Installer-5.2.0.0.0.25273509.ova \
/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'
'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.

Latest revision as of 00:58, 3 May 2026

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'