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

holmanbyes, but that's a gentoo-specific problem 00:16
dilfridge... and I nearly fell of a chair when I found it.09:53
dilfridge*off09:53
* dilfridge is preparing official bootable gentoo cloud images09:54
dilfridge(just on the slow path right now since too many projects)09:54
minimaldilfridge: yes cloud-init does not require systemd, I run cloud-init on Alpine which is OpenRC-based12:01
dilfridgebut I want to use it on Gentoo with systemd :)12:20
dilfridgenever mind, I'll look at it and fix things eventually, just takes time to get to it12:20
=== esv_ is now known as esv
holmanbdilfridge: happy to help upstream if you get some patches together14:26
holmanbdilfridge: iirc when i started looking into it I noticed that the two software stacks have a lot of differences14:27
dilfridgeyes14:27
dilfridgeon the upside, systemd is pretty much vanilla14:27
holmanbTrue 14:28
dilfridgeso just using whatever other distros based on systemd do should be a good starting point14:28
dilfridge(and just specialcasing openrc)14:28
holmanbId suggest inheriting from some other systemd class, override the obvious stuff (package manager) and see what else is broken14:29
holmanbMuch cleaner to use inheritance in cloud-init rather than conditionals14:30
dilfridgeI'm a bit stuck helping with gcc-14 stabilization and the gazillion of c99 related bugs right now, but once that is on the way I'll come back to the cloud images14:30
holmanbdilfridge: feel free to ping if you have questions 14:30
dilfridgethanks, will do14:30
minimaldilfridge: an issue with non-systemd is that ds-identify basically relies on systemd-detect-virt, which non-systemd systems won't have15:10
dilfridgeyes, I can look up how this is already solved (there is a non-systemd provider for Gentoo)15:12
dilfridgemostly I'm interested in providing a solution for systemd Gentoo15:12
dilfridgehttps://www.gentoo.org/downloads/   we have it all15:13
dilfridgeand my personal guess is that systemd-based install is nowadays more cloud-friendly15:13
minimaldilfridge: for Alpine I added support for virt-what to ds-identify15:14
minimalbut virt-what is more limited than systemd-detect-virt15:14
* dilfridge considers openrc legacy ... but don't tell (some) of my gentoo colleagues15:14
minimalwhy would systemd-based be more cloud-friendly?15:15
dilfridgejust plainly closer to what nearly everyone else is using... 15:15
minimaltrue, but that doesn't specifically make it "cloud friendly"15:16
dilfridgenot including alpine of course, but systemd+musl doesn't really work well yet15:16
dilfridgeyeah... let's settle on "friendly" instead :o)15:17

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