Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 7719

Creating a golden image that will generate random passwords for each deployment and how to retrieve those passwords

$
0
0

Hello,

New to VDC 5.5 and hopefully this is an easy one for all you gurus.  After creating a golden image of say windows 2008 server and presenting it in the public catalog how do you configure it to generate random administrator passwords when customers in each of the ORG VDC's wants to use it.  Now I know you can sysprep the OS in advance and then when it boots you can run through the configuration wizard or you can even set an answer file for things like the license key and administrator password but is there a better way?  Having to go through the console and run through a wizard in today's cloud technologies seems a bit old fashioned to me so I'm hoping its just something I have just missed in the configurations.

The goal would be simple...a customer deploys a VM and when it boots it's all ready to go so that no 2 VM's from that golden image have the same credentials.  Somehow they are provided with a randomly generated password to initially access the new systems.  Amazon AWS does this through the use of keys so if you deploy a VM you dont get asked to set a password...instead you can use your portal and get the password it generated for you.  Their VM's deploy and are ready to go without any additional configuration steps from the user at all.  How can this be accomplished on a vcloud director solution ( if at all).  I would like my clients to deploy from template, receive or access their new password, and ready to go.  Perhaps there is a way to query the DB somehow and pull the password that way?  And while I am focused on windows OS's at the moment it would be great to be able to do the same for root users on UNIX based templates as well.  Many big public cloud providers can provide this to their customers so I know there is a way but many also use things like openstack or cloudstack and not vcloud director.  Also I am not familiar with scripting so if you can achieve this kind of solution using scripts I would appreciate some information or links that can outline step by step ways to achieve this and I will be happy to learn.  Thanks in advance


Viewing all articles
Browse latest Browse all 7719

Trending Articles