[Rdo-list] default password of rdo pre-build image

Perry Myers pmyers at redhat.com
Mon Dec 15 12:21:37 UTC 2014


On 12/15/2014 04:02 AM, Arash Kaffamanesh wrote:
> Lei,
> The image has no known root password and that's good so.
> You need to ssh into the instance with:
> ssh -i <your-private-key> centos@<ip> 

Or, before importing into Glance, you can use a tool like virt-sysprep
to insert a root password into the image.

$ sudo yum install libguestfs-tools-c
$ virt-sysprep --root-password password:password -a imagefile.qcow2

See man virt-sysprep for info on how to use the --root-password cmdline
option.

Cheers,

Perry




More information about the dev mailing list