vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
163 stars 105 forks source link

vApp Networks cause error when creating vApp from template #309

Open Woo1s opened 5 years ago

Woo1s commented 5 years ago

vApp networks cause an error when using "vcd vapp create"

Error: Network 'vApp-Network-Name' not found in the Virtual Datacenter.

If the vApp uses an orgvdc network, no problems are encountered.

Woo1s commented 5 years ago

Example

vcd vapp create -c CatalogName -t TemplateName vAppName

pksrc commented 4 years ago

I'm running into the same issue. Was there a workaround or a resolution to this?

Woo1s commented 4 years ago

Sadly, no. I ended up diving into CLI’s source, and it doesn’t use the correct API call to deploy the template. I actually ended up building my own CLI utility that does what I need with the correct calls.

vogash commented 11 months ago

Sadly, no. I ended up diving into CLI’s source, and it doesn’t use the correct API call to deploy the template. I actually ended up building my own CLI utility that does what I need with the correct calls.

Can you share what you developed?