I am trying to find out what the assigned admin password is while running customization workflows in VCO during a provision from VCD so that I can notify the user what it is so they can access the new vm. I have the VM object and am able to call getGuestCustomizationSection().adminPassword, but it is consistently null. I am checking for it right before ending my customization and allowing the provision to complete. Does anyone have any ideas as to how I can get the admin password? I know I can get it in VCD after it is provisioned, but I would like to be able to include it in my email to the user that the vm is ready for them. Thanks.
↧