[Openstack] Centos 7 root pasword

Fabrizio Soppelsa fsoppelsa at mirantis.com
Tue Oct 14 14:08:45 UTC 2014

On 10/14/2014 11:41 AM, Mridhul Pax wrote:
> I have downloaded a centos 7 image from the following site and created 
> a glance image. Im able to provison a server via that image and the 
> server booted up fine. Any one know how to login to the server ?

It's reccomended to login to the instance through SSH (--key-name).
Otherwise, it's possible to inject a cloud-config metadata file through 
the nova switch --user-data ./my_file, in order to set a password.
my_file would look like (note that the first line is not a comment, but 
it's required!):

password: centos
chpasswd: { expire: False }

Here some cloud-config examples:

Hope this helps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141014/6a704498/attachment.html>

More information about the Openstack mailing list