=== meetingology` is now known as meetingology | ||
holmanb | minimal: I just noticed that kernel commandline cloud-init=disabled is defined in systemd service files - any clue if alpine / other non-systemd support this in some way that's out of tree? | 16:14 |
---|---|---|
holmanb | I'm inclined to see that standardized, if reasonable to do so | 16:16 |
minimal | holmanb: There's nothing currently in the init.d files regarding that. Alpine is using the files from sysvinit/gentoo/* | 16:40 |
holmanb | minimal: good to know - thanks | 16:43 |
meena | holmanb: is that a general systemd mechanism, or just something we got? | 16:57 |
holmanb | meena: ConditionKernelCommandLine is a generic systemd mechanism | 16:58 |
holmanb | https://www.freedesktop.org/software/systemd/man/systemd.unit.html | 16:59 |
minimal | holmanb: from memory when I first started testing cloud-init on Alpine I did use it in a "one shot" mode by having runcmd entries to disable the init.d services so it only ran once | 17:01 |
minimal | I suppose the init.d scripts could be modified to check "/proc/cmdline" for such a setting | 17:02 |
meena | ah, so this is instead of a permanent disabling | 17:19 |
holmanb | meena: yeah, this is for the case that it is easier to pass in a different cmdline than it is to modify the image itself | 17:41 |
holmanb | oh geez, looks like we still have sysvinit scripts for debian/suse/rhel, I assume we could ditch some (all?) of those | 20:09 |
holmanb | minimal: sounds reasonable to me | 20:11 |
holmanb | minimal: I'll cook up a proposal for that unless you'd rather do it | 20:13 |
holmanb | meena: same to you for *bsds | 20:14 |
falcojr | sysvinit is still supported in a debian LTS...not sure about the others | 20:15 |
meena | holmanb: kernel cmdline arguments are fairly… unsupported on BSD* right now | 20:20 |
holmanb | falcojr: TIL on debian - good to know - rhel/centos 6 was last to use svsv, should be safe there. I can check SUSE | 20:21 |
holmanb | meena: understood - I'm trying to document / standardize kernel cli at the moment. | 20:24 |
holmanb | meena: Some of our kernel commandline args are systemd-only, which is a crummy UI to use / document | 20:24 |
holmanb | meena: So I'd like to fix that while (before) I'm documenting. | 20:25 |
holmanb | meena: I'll propose a patch if you don't mind reviewing? | 20:25 |
holmanb | specifically for the option to disable cloud-init on the kernel commandline | 20:25 |
meena | holmanb: hmmm | 20:34 |
holmanb | meena minimal: something like this maybe -> https://github.com/canonical/cloud-init/pull/2112/files | 20:57 |
-ubottu:#cloud-init- Pull 2112 in canonical/cloud-init "Standardize kernel commandline disable" [Open] | 20:57 | |
minimal | holmanb: that PR looks fine | 22:30 |
minimal | am wondering whether in the future to either (a) move sysvinit/gentoo to sysvinit/openrc, or (b) to add a sysvinit/alpine directory initially with the same contents as sysvinit/gentoo | 22:31 |
minimal | (b) might be better in case there needs to be divergence of init.d contents between alpine & gentoo | 22:31 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!