Ask Your Question

Anyone know the default username for CentOS/Fedora special image on trystack? [closed]

asked 2014-05-05 11:12:58 -0600

sukk gravatar image

I can launch the CentOS instance from trystack; however, I google and found no information regarding the default username to login. I only got the "ubuntu" for the default username of Ubuntu image.

Appreciate if someone know the default username for CentOS or Fedora?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sukk
close date 2014-05-08 12:57:24.438950

3 answers

Sort by » oldest newest most voted

answered 2014-05-08 02:57:07 -0600

DanIzack gravatar image
To mount qcow2 images there is very useful 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

All done default user wil be displayed
edit flag offensive delete link more

answered 2014-05-06 00:08:35 -0600

dbaxps gravatar image

updated 2014-05-06 00:22:29 -0600

Just a suggestion

1. Launch instances with oskey.priv ( for instance)  F20 &&  CentOS 6.5 and assign Floating IPs.
2 $ ssh -l  root   -i   oskey.priv FLOATING-IP-ASSIGNED
Then you'll be given a secret advice regarding default user-name in your terminal session.
edit flag offensive delete link more


Thanks for the details. I will give it a tray although I already got the 'fedora' & 'cloud-user' from the message when login as root.

sukk gravatar imagesukk ( 2014-05-08 12:28:28 -0600 )edit

answered 2014-05-06 09:48:56 -0600

sukk gravatar image

Thanks dbaxps! the secret advice is interesting and like below for F20.

" Please login as the user "fedora" rather than the user "root". "

Not sure the default username for CentOS yet, but a good guess will be 'centos'.

edit flag offensive delete link more


Bad guess. Would be cloud-user :)

dbaxps gravatar imagedbaxps ( 2014-05-06 09:51:01 -0600 )edit

really! thanks! :)

sukk gravatar imagesukk ( 2014-05-06 09:54:59 -0600 )edit

For Centos 7 the user seems to be 'centos' ;)

lorenzosu gravatar imagelorenzosu ( 2014-09-07 14:33:01 -0600 )edit

What is the default password for Centos 7. I can't see it through console on dashlboard.

McCafe gravatar imageMcCafe ( 2015-04-16 17:11:40 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-05 11:12:58 -0600

Seen: 15,160 times

Last updated: May 08 '14