VMware Cloud Community
bvial
Contributor
Contributor

Unable to specify the Storage Profile to build the vApp on when cloning a template using the New-CIVapp cmdlet

Hi All,

We us the following line to create a vApp from a template in the catalog:

$vapp = New-CIVapp -Name $fullVappName -OrgVdc $orgVdc -VAppTemplate $vappTemplate

However, the New-CIVapp cmdlet does not allow me to specify which Storage Profile I want to provision the new vApp on.

If I were to manually create a vApp from a template in the GUI, I have the option to specify the Storage Profile to provision on.

Anyone know how I can do the same thing through powercli or Rest API?

Another issue, is that even though I can't specify the Storage Profile to build the vApp on, I would have thought it default to the 'Default' Storage Profile as set in the VDC in vCloud Director. However, the Storage Profile it does provision on seems random.

Reply
0 Kudos
0 Replies