You might also use vCloud Director's guest customization feature called "pre-/post-customization" scripts. It gets even more interesting in connection to OVF properties. Check out this blog entry: http://blogs.vmware.com/vsphere/2012/06/leveraging-vapp-vm-custom-properties-in-vcloud-director.html
/Andrii