/srv/irclogs.ubuntu.com/2015/07/22/#cloud-init.txt

=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
Odd_Blokesmoser: More review for you: https://code.launchpad.net/~daniel-thewatkins/cloud-init/fix-gce-az/+merge/265509 :)12:16
Odd_Blokesmoser: 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_Blokesmoser: But other than that, I think I'm happy with it.13:54
smoserOdd_Bloke, thats fine. i started down several paths of re-writing that code entirely.13:54
smoserbut settled on only fixing the one that neededfixed.13:54
Odd_BlokeYeah, fair enough.13:56
smoseri'm ok with your 2 fix though. i'll add that.14:00
=== zz_natorious is now known as natorious
smoserOdd_Bloke, just read lp:~daniel-thewatkins/cloud-init/fix-gce-az18:42
smoserthat is really nice work.18:42
gamenamehi 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
smoserwhat OS ?19:51
gamenameCentOS19:51
smoseri suspect that the default user is set wrong.19:51
gamename7.1.(mumble)19:51
smosererr that it is set to root.19:52
gamenamesmoser: 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
gamenamefoo is the new default id.19:53
gamenamemake sense, or am I on the wrong path?19:53
smoseryeah, you want to set up like http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/config/cloud.cfg19:54
smoseri'd take the packaged version, amek sure that it has default_user name set19:54
smoserits possible the user-add is failing19:54
smosermaybe youhave something in /var/log/cloud-init-*.log19:54
smoserlook for WARN19:54
gamenamesmoser: ok.  Will verify in the log(s) as well.19:55
gamenamesmoser: 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
smoserthe mirror values should be adjusted and possibly ssh_svcname.19:57
smosermostly i'd go with what the distro provided you with and change it19:57
gamenamesmoser: got it. Thanks;19:57
Odd_Blokesmoser: Glad you were happy with it!21:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!