Ask Your Question
0

Root password for F17 Cloud Images

asked 2013-11-27 12:33:04 -0500

htj gravatar image

updated 2013-11-27 12:38:48 -0500

Hi,

I am testing the OpenStack / Heat with the Fedora cloud images:

fedorapeople.org / groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2. I am having some network issue which prevent me from ssh to that instance but I can get to the console via VNC.

However, the console prompt me for the root password, which I have no idea. Could anyone please help me out here?

Thanks a lot and happy Holidays!

edit retag flag offensive close merge delete

Comments

Thanks for all the suggestions. I am having network connectivity issue from the host to the guest (F17), Openstack security rules are in place for ICMP and SSH. I will try libguestfs suggestion, if anyone has done it, please post the instructions here.

htj gravatar imagehtj ( 2013-11-29 16:41:16 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-11-29 15:15:26 -0500

athmane gravatar image

AFAIK, the root account is disabled (probably tty login too), cloud image uses cloud-init service to get metadata (inc. ssh keys) from the cloud environment/infrastructure.

You can use libguestfs to edit the image directly and enable direct login, etc...

edit flag offensive delete link more
0

answered 2013-11-28 02:10:37 -0500

mrunge gravatar image

IMHO the root account is disabled. And in general, your ssh key will be injected.

But: there is an option to set the admin password for an image as well (note: this requires rebuilding of the image)

Regarding network: did you add a security role?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-11-27 12:33:04 -0500

Seen: 1,224 times

Last updated: Nov 29 '13