meena | holman: yeah, that's it. | 06:37 |
---|---|---|
meena | https://github.com/canonical/cloud-init/pull/1733 | 14:13 |
ubottu | Pull 1733 in canonical/cloud-init "NoCloud docs: make sure echo properly evaluates the string" [Open] | 14:13 |
holman | meena: Mostly out of curiosity, would you mind sharing how newlines get interpreted on shell? | 14:57 |
meena | holman: it just prints "blah\nblubb" instead of | 14:57 |
meena | blah | 14:57 |
meena | blubb | 14:57 |
holman | meena: gotcha, thanks | 14:57 |
meena | holman: which cloud-init then reads as \n, rather than a newline | 14:58 |
holman | makes sense, thanks | 14:58 |
meena | holman: my shell, btw, is fish. On Ubuntu. | 15:20 |
holman | meena: nice, that's interesting | 15:20 |
meena | well, ElementaryOS, which is based on Ubuntu, but still | 15:20 |
holman | never used that one | 15:20 |
holman | meena: I assumed incorrectly I see :) | 15:21 |
holman | no Freebsd? | 15:21 |
meena | holman: i bricked my freebsd laptop, and haven't had time to fix it… also, make check doesn't quite run on FreeBSD yet… | 15:21 |
holman | fish is one I've never tried - I use zsh these days, mostly because there are some really nice highlighting and autosuggestions (which I think fish also has too, right?) | 15:22 |
meena | holman: every thing you type, is basically running thru Ctrl+R | 15:24 |
meena | and it has syntax highlighting, so when you do a typo it shows it | 15:25 |
holman | nice, that sounds similar | 15:26 |
holman | meena: I used to work for an organization where anybody that didn't have an opinion about their shell was given csh/tcsh by default, which seemed like an odd choice to me | 15:26 |
meena | holman: i like tcsh… a little better than bash :P | 15:27 |
meena | hrm… | 15:27 |
holman | nothing wrong with tcsh, but for an inexperienced user I'd argue that bash probably has more stack exchange posts to help them along :) | 15:29 |
meena | lol, yeah | 15:29 |
meena | i have found another bug | 15:29 |
meena | sshd isn't enabled on FreeBSD | 15:29 |
holman | meena: ouch, is this a default change? or something that never worked? | 15:30 |
meena | i reckon it's something that never worked | 15:30 |
meena | holman: cc_ssh.py doesn't enable / start the service… | 15:33 |
holman | I suspect that's because most linux server images probably have it enabled by default. | 15:34 |
meena | so the ssh keys are generated, but no ssh server started | 15:34 |
holman | meena: related - I'd love to see pycloudlib support more than just ubuntu. Launching a bsd or a rhel or whatever to do some basic integration tests (such as "log in via ssh") would be a high-value litmus test. | 15:35 |
meena | holman: agreed, and it's on the plan | 15:35 |
holman | meena: Nice! I think I only skimmed an early version of the plan, I'll have to re-read. | 15:36 |
meena | Let's submit that as bug report | 15:43 |
holman | Agreed, I think that deserves a report. | 15:51 |
meena | https://bugs.launchpad.net/cloud-init/+bug/1989743 | 16:10 |
ubottu | Launchpad bug 1989743 in cloud-init "cc_ssh: sshd is not enabled on *BSD" [Undecided, New] | 16:10 |
holman | +1 thanks for filing meena | 16:46 |
cjp256 | i filed https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1989651 last night, but fwiw it's not a regression, seems like the behavior is at least a year old | 16:56 |
ubottu | Launchpad bug 1989651 in cloud-init (Ubuntu) "_get_data() is invoked twice in init-local for Azure" [Undecided, New] | 16:56 |
* meena updated her Timezon @ https://launchpad.net/~minagalic | 17:58 | |
meena | i should also move cloud-init back up here https://github.com/igalic | 18:00 |
meena | oh, right: i can't get bootcmd to work | 20:08 |
meena | bootcmd: | 20:09 |
meena | - sysrc -c sendmail_enable=NONE || sysrc sendmail_enable=NO | 20:09 |
meena | is in my user-data, and the logs say: | 20:09 |
meena | https://gist.github.com/igalic/7d7727da0a478cea51fd9bf5d5582a8d | 20:11 |
meena | so, it says it's applying, but I don't see that happening | 20:11 |
holman | meena: bootcmd is a little tricky, a list of list of string behaves differently than a list of string | 20:54 |
holman | so if you add quotes around the whole command that should help | 20:54 |
holman | - "sysrc -c sendmail_enable=NONE || sysrc sendmail_enable=NO" | 20:55 |
holman | when the command is a string, it gets executed in a shell, when it's just a list the list items are passed to execve on linux (not sure how that translates to bsds) | 20:55 |
holman | hold up I'm describing runcmd, not bootcmd | 20:56 |
meena | holman: no difference | 21:03 |
meena | oh, i didn't update the ci-data >_> | 21:07 |
meena | why sendmail is enabled by default on FreeBSD is still beyond me | 21:10 |
meena | holman: switched to runcmd and it doesn't work either! fun… | 21:25 |
meena | oh i'm an idiot | 21:25 |
meena | it should be - "sysrc -c sendmail_enable=NONE || sysrc sendmail_enable=NONE" | 21:29 |
meena | also, I have managed to put a Cyrillic E (Е) in there… | 21:35 |
holman | heh, nice | 21:36 |
meena | next i need to figure out why set_hostname doesn't work, but update_etc_hosts does | 22:52 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!