Hi,

getVMPassword returns the encrypted password.
Is your template has cloud-set-guest-password script ?

Copy the cloud-set-guest-password script into guest vm and create template from 
it.
Set password enable in this template and deploy vm with it.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/add-password-management-to-templates.html

https://github.com/shankerbalan/cloudstack-scripts/blob/master/cloud-set-guest-password-sles

Thanks,
Jayapal


On 03-Jul-2013, at 12:46 PM, ramnivas indani <ram.0...@gmail.com> wrote:

> Hi all,
> 
> i have created a new template using sshkey pair, when i use same template
> in deployVirtualMachine and get job status using queryAsyncJobStatus i get
> password in password field of response and also get password in
> getVMPassword but both are different and i am not able to login to vm using
> any of these ?
> 
> can anyone point me to right direction ?
> 
> Thanks & Regards,
> Ramnivas

Reply via email to