As Ahmad says, by default its root for Linux, and Administrator for Windows.
It's also easy to modify the script to change the account it maps to. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -----Original Message----- From: Ahmad Emneina [mailto:aemne...@gmail.com] Sent: 04 July 2013 10:01 To: Cloudstack users mailing list Subject: Re: password enabled templates should be the root user if its centos or rhel. On Thu, Jul 4, 2013 at 1:43 AM, ramnivas indani <ramind...@h2osoftwares.com>wrote: > Hi, > > i have already embedded password script in template, i want to ask > like for which user it generates new password. > > Thanks, > Ramnivas > > > On Wed, Jul 3, 2013 at 6:10 PM, Jayapal Reddy Uradi < > jayapalreddy.ur...@citrix.com> wrote: > > > 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/A > dmin_Guide/add-password-management-to-templates.html > > > > > > > https://github.com/shankerbalan/cloudstack-scripts/blob/master/cloud-s > et-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 > > > > > This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.