/srv/irclogs.ubuntu.com/2022/04/05/#cloud-init.txt

=== VoliKoN5 is now known as VoliKoN
=== raekye3 is now known as raekye
=== esv_ is now known as esv
=== fowl2 is now known as fowl
falcojrparide , holmanb , I commented on the PR yesterday https://github.com/canonical/cloud-init/pull/1160#issuecomment-108806124213:26
ubottuPull 1160 in canonical/cloud-init "Add ec2 IPv6 IMDS Support (SC-336)" [Open]13:27
falcojrakutz: "Can someone confirm that only the Photon distro uses this renderer and other distros that use systemd use the netplan renderer?" Yes, this is likely true13:28
paridefalcojr, replied there\13:34
=== hexa- is now known as h
Sh4dowmonkHi, can I run the user data as an existing user "installer" from my AMI and not the default user "cloud-user"?14:22
minimalSh4dowmonk: the user-data is processed by cloud-init running as the "root" user. What are you trying to achieve?14:32
=== h is now known as hexa-
Sh4dowmonkI am trying to use user data to start the installation process of our software on the AMI.14:47
Sh4dowmonkOn premise we used root user, but now we have introduced a new special user "installer" which does only installation.14:47
minimalSh4dowmonk: I guess you could use "write_files:" to create a shell script that uses sudo/doas to execute something as the required user, and use "run_cmd:" to trigger it15:43
Sh4dowmonkminimal: thank you! I'll try that.15:46
akutzfalcojr: thanks for the confirmation. I've reached out to the author of that renderer directly on internal Slack to see what his thoughts are on me submitting a patch.17:45

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