Good news:
rpi-imager --cli
Has really expanded options over the previous versions.
Including:
--first-run-script <first-run-script> --cloudinit-userdata <cloudinit-userdata> --cloudinit-networkconfig <cloudinit-networkconfig>
Though it doesn't support the old simple config text file, presumably most of that is replaced by cloudinit network config.
I am guessing this is available in the Windows version. I am seeing this from the macOS binary.
Yeah but I really really don't like tools doing black magic to be honest, I'd like some documentation what it does. And if it is just cloud-init, no big deal, I already know more than I'd ever wanted about this particular piece of annoyance from wrestling with AWS, just tell me what exactly the Pi userland expects me to hand to cloud-init...
Thanks anyway for digging into the source, really appreciated!