Password change & keypair file injection.

Asked by prem

Hi,
 We have openstack folsom running with the compute (KVM), i wanted to do the below things.

• Random Password generation for VM’s once it is provisioned
• SSH Key generation and retrieval post VM provisioning

Can someone guide me how to achieve this?

Regards,
Christpher

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tiantian Gao (gtt116) said :
#1

Hi Christpher,

nova do not support Random Password generation for VM now.
And SSH key in nova is named 'keypair'. Before you create an VM, create a keypair first. Then using the keypair to create the VM.
When the VM become active, you can login into it using the kaypair.

Hoping this help you.

Revision history for this message
prem (premedge) said :
#2

Thanks Tiantian, I was expecting an similar command like nova root-password "servername"(used for Xen compute) for KVM based computes.
-

Can you help with this problem?

Provide an answer of your own, or ask prem for more information if necessary.

To post a message you must log in.