/srv/irclogs.ubuntu.com/2024/01/26/#cloud-init.txt

=== meena8 is now known as meena
liyiIs there anyway to run cloud init after the linux install? I have some cloud init script where I usually attach with aws ec2 launch but I would like to use it to setup my own linux desktop.17:50
liyisomething like this(https://raw.githubusercontent.com/liyihuang/liyi-cloudinit/main/cloud-init.yaml)17:50
minimalliyi: what do you mean "after the linux install"? Normally cloud-init is used/enabled in pre-prepared Linux disk images, rather than during installations17:58
minimaloh, they only stayed in channel for 5mins lol18:02
rharperminimal: at least on ubuntu-server installs, it uses cloud-init on initial boot to handle first-time setup of things collected during install phase (like user names, gcos , ssh keys, etc);   not sure about desktop though;  https://discourse.ubuntu.com/t/automated-server-installation/16612  22:07
minimalrharper: yeah I wasn't referring to the likes of subquity etc22:38
rharperright, but I think liyi may have been asking if one could use cloud-init to customize a desktop install; I *think* that's coming with the subiquity-ifcation of the desktop installer but not 100% sure; 22:41
minimalrharper: his repo has user-data for setting up k8s, I assumed he wanted to do similar to setup desktop but he did say "anyway to run cloud init after the linux install" which made me assume he wasn't using subiquity and instead was installing some distro and *then* wanting to install & use to setup desktop (i.e. as an alternative to ansible/salt/chef/puppet)23:05
minimals/use /use cloud-init /23:05
rharperheh, yeah and they leave so quickly no way to follow up =/ 23:08
minimalindeed23:10
minimalI must get around to writing that telepathy module for cloud-init ;-)23:11
rharperlol23:12
minimalI bet you didn't see that coming lol23:13
rharperhehe23:33
meenaholmanb, falcojr: is https://github.com/canonical/cloud-init/pull/4769 supposed to work in general? everywhere I've tried it, it didn't. though I did hear it works in parallels23:41
-ubottu:#cloud-init- Pull 4769 in canonical/cloud-init "feat: prefer udev's cdrom_id -e to eject" [Open]23:41
catredmeena: what is working/not working for you?  In most of our testing the eject condition hasn't actually been being hit so if you're seeing failures that would be very helpful.23:57

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