VMware Cloud Community
pleskotns
Contributor
Contributor

ovftool and Unknown option: 'net'

When I try to run my ovftool command, the --net option is marked as an "unknown option" despite being in the documentation on the vmware website, and in the --help section of ovftool

Also, "--nic" is another similarly "Unknown option" that is documented in both places

Using the --network option does not address the issue either. I need a way to assign port groups to each of the 4 network interfaces in the OVA and I have been researching this for several hours with no progress

Please advise

Command:
$ ovftool --net="Network 1"=<port group1> --net="Network 2"=<port group2> --net="Network 3"=<port group3> --net="Network 4"=<port group4> --datastore=<datastore> --acceptAllEulas --computerName:<testname> myfile.ova vi://<user>:<pw>@<host>/<path>

Error: Unknown option: 'net'

Completed with errors

0 Kudos
0 Replies