=== zz_natorious is now known as natorious | ||
=== natorious is now known as zz_natorious | ||
Odd_Bloke | smoser: More review for you: https://code.launchpad.net/~daniel-thewatkins/cloud-init/fix-gce-az/+merge/265509 :) | 12:16 |
---|---|---|
Odd_Bloke | smoser: That SSH key solution looks broadly good; would like it if X_2_Y could be renamed X_TO_Y; I think we can afford the extra character. ;) | 13:53 |
Odd_Bloke | smoser: But other than that, I think I'm happy with it. | 13:54 |
smoser | Odd_Bloke, thats fine. i started down several paths of re-writing that code entirely. | 13:54 |
smoser | but settled on only fixing the one that neededfixed. | 13:54 |
Odd_Bloke | Yeah, fair enough. | 13:56 |
smoser | i'm ok with your 2 fix though. i'll add that. | 14:00 |
=== zz_natorious is now known as natorious | ||
smoser | Odd_Bloke, just read lp:~daniel-thewatkins/cloud-init/fix-gce-az | 18:42 |
smoser | that is really nice work. | 18:42 |
gamename | hi guys. for some reason, when I run cloud-init on my ami, the authorized keys I want go to '/root/.ssh/authorized_keys' instead of the '/home/foo/.ssh/authorized_keys' file. How do I force that to happen? | 19:21 |
smoser | what OS ? | 19:51 |
gamename | CentOS | 19:51 |
smoser | i suspect that the default user is set wrong. | 19:51 |
gamename | 7.1.(mumble) | 19:51 |
smoser | err that it is set to root. | 19:52 |
gamename | smoser: That's what it is looking like. I'm going to zap the /etc/cloud/cloud.cfg file. Will set the "name: centos" in the default to "name: foo". | 19:52 |
gamename | foo is the new default id. | 19:53 |
gamename | make sense, or am I on the wrong path? | 19:53 |
smoser | yeah, you want to set up like http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/config/cloud.cfg | 19:54 |
smoser | i'd take the packaged version, amek sure that it has default_user name set | 19:54 |
smoser | its possible the user-add is failing | 19:54 |
smoser | maybe youhave something in /var/log/cloud-init-*.log | 19:54 |
smoser | look for WARN | 19:54 |
gamename | smoser: ok. Will verify in the log(s) as well. | 19:55 |
gamename | smoser: Other than the default user, are there other values in cloud.cfg that are required to change, or will just the name change be good enough in general? | 19:56 |
smoser | the mirror values should be adjusted and possibly ssh_svcname. | 19:57 |
smoser | mostly i'd go with what the distro provided you with and change it | 19:57 |
gamename | smoser: got it. Thanks; | 19:57 |
Odd_Bloke | smoser: Glad you were happy with it! | 21:29 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!