English
« Back to projectatomic.io
Ask Your Question
0

How does one log into the system?

asked 2014-12-05 23:40:46 +0000

anonymous user

Anonymous

I followed the quick start instruction including providing the iso with the meta-data and user-data files but I cannot log into the system with the password provided in the user-data file. The hostname gets set correctly to "atomic" according to the meta-data file but I tried logging in as "root" and "fedora" with the provided password but get rejected. What am I doing wrong?

edit retag flag offensive close merge delete

Comments

I was able to login to a virtualbox instance by just supplying a hostname and password (rsa key apparently is optional, I comment-out those lines), based on his tutorial: https://www.technovelty.org//linux/running-cloud-images-locally.html. So not as difficult or mysterious as implied!

dsmithdewarcom ( 2015-04-14 18:47:47 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-11 15:46:51 +0000

updated 2014-12-11 15:52:33 +0000

Can you post your user-data file? One of the things that caught me was not iterating the meta-data file everytime I was testing a change. If the instance-id doesn't change, then cloud-init won't treat this as a first boot of the instance. Changes that cloud-init would normally make (useradds, password changes, etc) only run on first boot.

You can also check out this blog post about getting cloud-init auth working. I wrote it b/c I was having some issues and wanted to work through the process.

http://www.projectatomic.io/blog/2014/10/getting-started-with-cloud-init/

edit flag offensive delete link more

Comments

I also found this comment in another thread, which is very bare bones and would get SSH key auth working for the fedora user. http://ask.projectatomic.io/en/question/133/currentsupported-atomic-isoimage-etc/?answer=134#post-id-134

nzwulfin ( 2014-12-11 15:50:51 +0000 )edit

changing the instance-id did the trick for me, thanks.

Saule ( 2015-02-16 14:03:40 +0000 )edit

yes for me too and thank you, Saule and nzwulfin

BluemixFan ( 2015-02-16 23:37:37 +0000 )edit

Your Answer

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

Add Answer

[hide preview]

Stats

Asked: 2014-12-05 23:40:46 +0000

Seen: 282 times

Last updated: Dec 11 '14