Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud-config.yaml #20

Open
mabushey opened this issue Aug 13, 2015 · 2 comments
Open

cloud-config.yaml #20

mabushey opened this issue Aug 13, 2015 · 2 comments

Comments

@mabushey
Copy link

This is the first docker container I've tried using so I'm not too familiar with how this works. On Solaris I though zones were extremely overrated.

"Deploy node with cloud-config.yaml config:"
How do I mount/edit this file/container? Or should I just wget https://raw.githubusercontent.com/million12/linodeapi/master/cloud-config.yaml and not worry about the copy in the container?

COREOS_PUBLIC_IPV4=$public_ipv4
I'm assuming it fills this in, as I do not know this before it's spun up. What do we change in this file other than hostname, the discovery token, and user/ssh key? What's the discover token for? I went to a web page that randomly generates them. Is this token per machine or per cluster?

@mabushey
Copy link
Author

I copied down cloud-config.yaml from github and modified it. The hostname worked, no clue what the token does, and I replaced the user and ssh pub key. I am not able to log in however, it just asks for a password.

@pozgo
Copy link
Member

pozgo commented Nov 6, 2015

@mabushey Please got to CoreOS cloud-config Documentation and read how to configure cloud-configs.

It it has asked you for password it means your ssh keys are not imported in to the running machine.
Check your cloud-config on those two services:
Yamlint
Coreos Cloud-config validator

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants