- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ovftool - What is wrong with my command?
I have tried everything and having trouble with this command and here is the error I am getting. I have tried "--network=VM Network" and every option I can think of and those options seems correct because the command does execute, but I get the same results. The thing is I do not currently need a network adapter installed on this machine after I bring it into the VMWare environment
C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --datastore=EVA1Disk1 --net work="Host Only" c:\Temp\Netscaler\NSVPX-ESX-9.1-101.5.ovf vi://root@128.1.60.200
Opening OVF source: c:\Temp\Netscaler\NSVPX-ESX-9.1-101.5.ovf Please enter login information for target vi://128.1.60.200/ Username: root Password: ********* Opening VI target: vi://root@128.1.60.200/ Error: No network mapping specified OVF networks: NS_NIC_1_1 VM Network Target networks: Host Only VM Network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I suspect the problem is that you have two networks in your OVF. In that case, you should be able to deploy the OVF by using the options --net: NS_NIC_1_1="Host Only" and --net:"VM Network"="Host Only" (if you want to map both of the OVF networks to the "Host Only" network).
- Kristian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you are really close and that may be what it is looking for, but I tried those options using every syntax I can think of and still not getting it. Thanks for the advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you paste the command you are trying with and the output you then get?
Thanks!
- Kristian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is just a few of them, but I tried everything I could think of.
C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --datastore=EVA1Disk1 --netw
ork=NS_NIC_1_1="Host Only" --network="VM Network"="Host Only" c:\Temp\Netscaler\N
SVPX-ESX-9.1-101.5.ovf vi://root@128.1.60.200
Error: Unsupported protocol: Only c:\Temp\Netscaler\NSVPX-ESX-9.1-101.5.ovf vi:/
/root@128.1.60.ovf
C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --datastore=EVA1Disk1 --netw
ork:NS_NIC_1_1="Host Only" c:\Temp\Netscaler\NSVPX-ESX-9.1-101.5.ovf vi://root@1
28.1.60.200
Unknown option: `network:NS_NIC_1_1'
C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --datastore=EVA1Disk1 --netw
ork NS_NIC_1_1="Host Only" c:\Temp\Netscaler\NSVPX-ESX-9.1-101.5.ovf vi://root@1
28.1.60.200
Unexpected option: vi://root@128.1.60.200
C:\Program Files\VMware\VMware OVF Tool>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
This is the command that worked for me:
ovftool -ds=<Datastore> --net:"VM Network"=<Target VM Network> --net:NS_NIC_1_1=NS_NIC_1_1 --name=<Appliance Name> <Path to the OVF source>\<OVF source file> vi://<user>@<VCenterServer>/?dns=<ESX FQDN>
Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nice one. That indeed did help very much. How on earth do Citrix get away witth their example command line of ovftool.exe c:\ovf file vi://ip address - argh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please help in this one?
I am tying to convert an OVF file to an ISO. I am using OVFtool for windows, but when I execute the command I get the following:
C:\Program Files\VMware\VMware OVF Tool>ovftool C:\Program Files\VMware\VMware OVF Tool\xxx C:\Program Files\VMware\VMware OVF Tool\
Error: Unexpected option: OVF
Completed with errors
where "xxx" is the OVF file.
I have checked the command reference and other guides but nothing till now. can you please update me if there is something wrong with my command?
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ashehade
You need to put quotes around paths that contain spaces, such as the path to the OVF file (aka the source locator). Here is an example:
C:\Program Files\VMware\VMware OVF Tool>ovftool "C:\Program Files\VMware\VMware OVF Tool\xxx"