I am trying to deploy OVA via OVF tool.
The OVA has two network mappings, Out of Band Management and Public.
I entered the following for the deployment.
ovftool --acceptAllEulas --name=test -dm=thin -ds="datastore1" --net: "Out of Band Management"="VM Network" --net: "Public"="VM Network" "C:\Users\ki\Downloads\Daily Downloads\xxx.ova" vi://root@135.27.x.x
Then the following error is thrown.
Error: Unexpected option: Public=VM Network
Completed with errors
I think I followed the rule for multiple network mapping in the OVF Tool User's Guide.
Sets a network assignment in the deployed OVF package. For example, --net:=. OVF packages contain symbolic names for network names which are assigned with this option. For multiple network mappings, repeat the option, separating them with a space for example, --net:s1=t1 --net:s2=t2 --net:s3=t3.
What might cause the error?
Please advise.
your syntax is correct but try getting rid of the extra space after both instances of the "--net:" and see, that should work.
--net:"Out of Band Management"="VM Network" --net:"Public"="VM Network"
your syntax is correct but try getting rid of the extra space after both instances of the "--net:" and see, that should work.
--net:"Out of Band Management"="VM Network" --net:"Public"="VM Network"
Thank you very much for your advice!
I followed what you recommended and a different error message is thrown now which is "Error: Config::View::Set failed. Node already has a child. Completed with errors".
That will be my next fun to take care of.
Thanks again!
Can you please extract the .ovf file from the OVA archive, and attach it to a reply post?
André
Hi Andre
It looks like there was some issue while installing ovf tool on my PC.
I installed ovf tool 4.3.0 U3 at first so I removed it and installed ovf tool 4.3.0.
Then, it worked.