Ask Your Question
0

Password change & keypair file injection. [closed]

asked 2013-07-31 06:00:14 -0500

premedge gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 21:21:20.708326

2 answers

Sort by » oldest newest most voted
0

answered 2013-07-31 06:59:45 -0500

premedge gravatar image

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

edit flag offensive delete link more
0

answered 2013-07-31 06:09:03 -0500

gtt116 gravatar image

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.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-31 06:00:14 -0500

Seen: 70 times

Last updated: Jul 31 '13