Hi
I am unable to modify vm name and guest customization while deploying a vapp from catalog. I am using vloud director 5.5.
Below is the xml i am posting, Please help.
<?xml version="1.0" encoding="UTF-8"?>
<InstantiateVAppTemplateParams
xmlns="http://www.vmware.com/vcloud/v1.5"
name="linu"
deploy="true"
powerOn="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1">
<Description>lin</Description>
<InstantiationParams>
<NetworkConfigSection>
<ovf:Info>Configuration parameters for logical networks
</ovf:Info>
<NetworkConfig
networkName="Kronos Network">
<Configuration>
<ParentNetwork
href="https://mycomp.com/api/network/9ebd22dc-ded9-4c7f-8e9b-505be09a5b3d" />
<FenceMode>bridged</FenceMode>
</Configuration>
</NetworkConfig>
</NetworkConfigSection>
</InstantiationParams>
<Source
href="https://mycomp.com/api/vAppTemplate/vappTemplate-a93c729e-254d-461c-b1d7-73d1da5b6e53" />
<SourcedItem sourceDelete="false">
<Source href="https://mycompcom/api/vAppTemplate/vm-f5a3697d-c7ff-425c-9395-34910f482de6"/>
<VmGeneralParams>
<Name>samridh</Name>
<Description>Primary </Description>
<NeedsCustomization>true</NeedsCustomization>
</VmGeneralParams>
</SourcedItem>
<AllEULAsAccepted>true</AllEULAsAccepted>
</InstantiateVAppTemplateParams>
I am getting error that
cvc-complex-type.2.4.a: Invalid content was found starting with element \'SourcedItem\'.
Please help.