I am currently building a multi-VM vApp virtual appliance using VMware Studio. I need to pass in a bunch of arguments to an unattended installer to run in the first-boot script on one of the VMs. I have created a set of vApp OVF properties to capture the information. However, I do not know how to retrieve them and save them into bash shell variables (on the guest SLES) so that I could reference them when running the unattended installer. Any sample code to share would be highly appreciated?
Since your VAs are Linux base, so you can use ovfenv command/tool to retrieve the ovf property values. You can call this command/tool from your Shell script and assign them to variable.
e.g. IP_Address_1=`ovfenv | grep IP_Addr1` (Considering IP_Add1 is your ovf property name)