Ask Your Question
2

what's the default fedora image password ?

asked 2013-08-10 08:31:10 -0600

wkqwu gravatar image

http://docs.openstack.org/trunk/openstack-image/content/ch_obtaining_images.html (http://docs.openstack.org/trunk/opens...)

The Fedora project maintains a list of official cloud images at http://cloud.fedoraproject.org/ . The images include the cloud-init utility to support key and user data injection. The default user name is fedora.

It only said username, but does anyone know the password for it ?

I used Fedora 19 Downloadable Cloud Images

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2013-08-10 22:25:01 -0600

gtt116 gravatar image

Hi Kai,

In general, Openstack suggest using keypair to login VM. As the document said the login username is 'fedora', but before login you should create a keypair, and inject the public key into VM. There is a official document to help you. http://docs.openstack.org/grizzly/openstack-compute/admin/content/instance-data.html#inserting_sshkeys (http://docs.openstack.org/grizzly/ope...)

Hope it is help to you.

edit flag offensive delete link more
-1

answered 2013-08-12 01:50:27 -0600

gtt116 gravatar image

No, Keypair not depend on cloud-init. It is injected into image using NBD or guestmount ,etc. You can using keypair without cloud-init in fedora. :)

edit flag offensive delete link more

Comments

This is actually not true with the default configuration. The key pair is simply presented via the Nova metadata service, and cloud-init (or other configuration mechanism running on the instance) is responsible for fetching and installing that key in the right place.

larsks gravatar imagelarsks ( 2014-10-10 13:40:55 -0600 )edit
0

answered 2014-10-09 05:43:49 -0600

For Fedora 20, you can try to add a user-agent file with the following content:

#cloud-config
password: fedora
chpasswd: { expire: False }

Then, boot your image with

nova boot --flavor m1.small --image 58571720-078f-40ba-ac09-a4a30805bd93 --key-name F --user-data ./user-data --nic net-id=768ee203-d085-4a82-a134-113530b0e832 fedora

Then, you can login with fedora:fedora.

edit flag offensive delete link more
0

answered 2018-05-30 13:15:42 -0600

akostadinov gravatar image

If you don't use cloud-init to set password, password login will not be possible. You need to use key pair when launching the VM. See old docs (can't find new ones).

https://docs-old.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Cloud_Guide/ch02.html (https://docs-old.fedoraproject.org/en...)

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2013-08-10 08:31:10 -0600

Seen: 7,817 times

Last updated: May 30 '18