Ask Your Question
0

CentOs6.5 user and password for openstack Centos6.5 image

asked 2014-06-23 09:49:50 -0500

OSS-openstack gravatar image

I downloaded openstack image from http://openstack.redhat.com/Image_resources (http://openstack.redhat.com/Image_res...) . Does anyone know what the user-name and password is for this image ? I googled and found that cloud-user could be the username but the password is not listed anywhere.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-23 10:18:56 -0500

dbaxps gravatar image

Qcow2 images may be mounted via qemu-nbd util. It shares image through kernel network block device protocol and this allows to mount it:

modprobe nbd max_part=63
qemu-nbd -c /dev/nbd0 image.qcow2
mkdir -p /mnt/image
mount /dev/nbd0p1 /mnt/image
cat /mnt/image/etc/cloud/cloud.cfg
edit flag offensive delete link more
0

answered 2014-06-24 02:30:44 -0500

Usernames are as follows:

CentOS 6.5 ( http://repos.fedorapeople.org/repos/openstack/guest-images/centos-6.5-20140117.0.x86_64.qcow2 (http://repos.fedorapeople.org/repos/o...) ): cloud-user

Fedora 19 ( http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2 (http://cloud.fedoraproject.org/fedora...) ): fedora

Ubuntu 12.04 ( http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img (http://cloud-images.ubuntu.com/precis...) ): ubuntu

You will need to use the SSH key to login to the instances.

edit flag offensive delete link more
0

answered 2014-06-23 10:45:27 -0500

OSS-openstack gravatar image

Great! Thank you dbaxps. I brought the image up in single user mode and then was able to change the password.

edit flag offensive delete link more

Comments

In general, ssh keypair gets involved in cloud instance creation. Say oskey.pem, then
$ssh -i oskey.pem cloud-user@floating-ip
will log you in

dbaxps gravatar imagedbaxps ( 2014-06-23 11:06:44 -0500 )edit

Great info! Thank you so much.

OSS-openstack gravatar imageOSS-openstack ( 2014-06-23 12:10:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-06-23 09:49:50 -0500

Seen: 5,456 times

Last updated: Jun 24 '14