/srv/irclogs.ubuntu.com/2022/10/28/#cloud-init.txt

onetwodoes anyone have a link to how to use cloud-init for Arhc Linux please.08:36
=== onetwo is now known as djinn12
=== djinn12 is now known as syzygy
=== syzygy is now known as onetwo
minimalcan someone please review #1804?11:34
minimalfalcojr, blackboxsw, rharper: ^^^11:41
meenaminimal: would you really need --no-color when not calling it interactively?12:34
meenaminimal: you need to reformat your files with black12:37
meenaand, I would also add a test that shows the other path rc-update12:38
minimalmeena: the "black" issues are for existing code that I wasn't changing12:39
minimalso I assumed I shouldn't/wouldn't have to "fix" unrelated black warnings in this PR12:39
minimalmeena: I added the "--nocolor" just in case at a later date any output would be logged or otherwise used12:40
meenaaye13:06
minimalmeena: ok, additional test added13:20
meenaI did an upgrade of my FreeBSD VM, and now it's no longer recognised as NoCloud, but assumed to be OpenStack.15:10
meenaI wonder what broke15:10
meenawell, a bunch of stuff… 15:11
minimalmeena: you interviewing for FB? "move fast and break stuff" ;-)15:19
meenaminimal: to be fair, this is FreeBSD-14.0-CURRENT, and I'm using PkgBase, itself in continuous Beta…, to upgrade it16:07
meenahow the heck do you use ds-identify16:17
falcojrIt's a systemd generator. Not sure if non-systemd systems use it 16:19
minimalhow to you get "tox" to give more output about things like "black" errors?16:21
meenaFreeBSD-geom package… is… new, and was missing16:22
meenadidn't realize cloud-init -lsr doesn't clean up ds-identify's stuff16:23
minimalfalcojr: any complaint if I remove the "# vi" line from end of alpine.py as meena suggested?16:24
falcojrnope, sounds good 16:26
falcojrDon't actually know re black. There's also a format target that will do the black formatting. I have it integrated into my editor 16:27
minimalI just ran black manualy earlier (must have done something wrong as I'm convinced it pointed out issues in untouched parts of the file lol)16:28
meenafalcojr: I've managed to change one usage of get_devicelist() from net.get_devicelist() to distros.networking.get_devicelist() but there's still a bunch left16:52
meenaSo I'll leave that until the refactoring16:53
jrmmeena: I'll take a look.  For https://reviews.freebsd.org/D37142 we will have to wait for the maintainer.  In the meantime, what do you suggest as a sanity check at run-time?  Or, am I going to have to learn something about cloud-init and figure it out myself.17:24
meenajrm: good question 17:28
meenaI don't wanna give you more work than you're already doing17:29
meenafalcojr: ping ^17:29
meenawhat's a good sanity check that cloud-init… works17:31
falcojrCloud-init status returns no error, logs say datasource was detected and able to retrieve metadata 17:36
minimaldon't know if I'm going mad, fixed the requested change in the PR but girhub still shows "1 change requested", can't see anything to mark it as done17:38
falcojroh, that's just a github thing. It'll say that till I approve 17:49
minimalah ok, it's confusing17:53
meenajrm: you might have to put some files into /var/lib/cloud-init/seed? to make cloud-init status make sense: https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html17:54
meenawhy can i not remember 17:54
meenabut i think just an otherwise empty file with #cloud-config17:55
=== VoliKoN5 is now known as VoliKoN
=== VoliKoN5 is now known as VoliKoN
meenafalcojr: i think I'm happy with what I'm about to push20:13

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