Hi All,
I am trying to create an OVF using vSphere client with additional properties.
I want that during import of this OVF ( using vSphere client ) a dailog should come asking for IP configuration for eth3 only.
i.e. My VM has 4 network cards. Of which only eth3 is mapped to vSwitch0 of the ESX and is only visible to the external world.
I created new property types by following:
RightClick on VM -> Edit Settings -> options -> Advanced -> Properties
Related part of the exported ovf looks like:
{{{
</ProductSection>
<ProductSection ovf:class="vami" ovf:instance="VAS_SMS">
<Info>Information about the installed software</Info>
<Category>Networking Properties</Category>
<Property ovf:key="DNS" ovf:type="string" ovf:userConfigurable="true">
<Label>DNS</Label>
<Description>The domain name servers for this VM (comma separated).</Description>
</Property>
<Property ovf:key="Gateway" ovf:type="string" ovf:userConfigurable="true" ovf:value="xx.xx.xx.xx">
<Label>Gateway</Label>
<Description>Gateway address for this VM</Description>
</Property>
<Property ovf:key="ip3" ovf:type="string" ovf:userConfigurable="true">
<Label>Network 3 IP Address</Label>
<Description>The IP address for this interface</Description>
</Property>
<Property ovf:key="netmask3" ovf:type="string" ovf:userConfigurable="true" ovf:value="xx.xx.xx.xx">
<Label>Network 3 Netmask</Label>
<Description>The netmask for this interface.</Description>
</Property>
</ProductSection>
}}}
But when I import this ovf using vpshere client, The wizard shows this network properties dialog , after I give the IP in there, The VM is not taking it. !!!
Any ideas.??
I hope I am clear enough in explaining my issue.
Thanks
Nikunj