/srv/irclogs.ubuntu.com/2025/03/04/#cloud-init.txt

minimaldmick_: not sure what you mean by "PXE installs", cloud-init is intended to be already present (and configured to run) in the OS you are booting00:27
dmick_I'm autoinstalling Ubuntu with PXE, and providing both autoinstall/subiquity config and cloud-init config in a user-data file00:51
dmick_yes, cloud-init is in the installation image, and interprets the non-autoinstall data in the user-data file00:52
minimaldmick_: sounds like you're using Ubuntu's Subiquity00:52
dmick_https://canonical-subiquity.readthedocs-hosted.com/en/latest/explanation/cloudinit-autoinstall-interaction.html#cloudinit-autoinstall-interaction00:52
minimalwhich is generally supported in the Ubuntu channels00:52
dmick_yes, that's why I said "autoinstall/subiquity"00:52
dmick_but this question is about cloud-init00:52
minimalsubiquity uses/"misuses" cloud-init00:53
dmick_yes, it does00:53
minimaland so generally speaking its a subiquity question (even though it involved cloud-init)00:54
minimalfor example you asked "Do I need to supply it as a different datasource for the reboot" - with cloud-init you don't change DataSource, it is detected on 1st boot00:55
dmick_yeah, it's detected by cloud-init on first boot in this scenario too.   but then there's a second boot after installation is completed.  Maybe that wrinkle, the fact that there are two different boot 'contexts', is unique to subiquity.  I'm not super-familiar with all the ways cloud-init can run.00:58
dmick_I can try finding a subiquity group and see where I get.  Thanks for the suggestion.00:59
minimaldmick_: my point is what when subiquity is involved then cloud-init is "made to act" in a non-normal fashion00:59
minimaltry the ubuntu-server channel, that's likely to be the one with subiquity people present01:00
dmick_ok01:00
dmick_here on libera?01:00
minimalyes, #ubuntu-server (and perhaps #ubuntu-cloud as well)01:00
dmick_thanks01:01

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