cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WXR" <>
Subject Re:RE: Cloudstack password enabled template
Date Fri, 28 Jun 2013 12:51:10 GMT
I have a similar question about the password resetting.

I download the cloud-set-guest-password for linux and put it on my centos guest vm.

# cp cloud-set-guest-password /etc/init.d/ 
# chmod +x /etc/init.d/cloud-set-guest-password 
# chkconfig --add cloud-set-guest-password

But it doen't take effect.
The tool for windows guest vm can work well.

------------------ Original ------------------
From:  "Geoff Higginbottom"<>;
Date:  Fri, Jun 28, 2013 06:32 PM
To:  ""<>; 

Subject:  RE: Cloudstack password enabled template 


Are you adding the Password Reset Script to your Templates, if so then each time you create
a new VM it will get a randomly generated password.

I believe you can then also use the getVMPassword API call to query the existing password,
although I have not tested this new 4.1 API command yet.


Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

-----Original Message-----
From: Asmita Vagyani []
Sent: 28 June 2013 11:26
Subject: Cloudstack password enabled template


I have some queries related to getting password of VM that is created.

I am using deployVirtualMachine api to create virtual machine from templates that I have configured
in cloudstack.

When VM is deployed I want to get username and password of the VM to login to that VM instance.
Also I want to generate random password everytime new VM is created using the same template.

Can anyone help me with that?



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.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message