/srv/irclogs.ubuntu.com/2021/11/29/#cloud-init.txt

=== gschanuel29 is now known as gschanuel2
cpaelzerChurch: you'd use it like any other cloud config, it just has to start with a different header as outlined https://cloudinit.readthedocs.io/en/latest/topics/format.html#user-data-script06:03
cpaelzerChurch: so if all you want to do is to create a nocloud image bsaed on that, then yes passing it to cloud-localds should do it06:04
=== gschanuel20 is now known as gschanuel2
ChurchNod, got it. A follow up question, what's a good way to execute a user data based script at the end of the cloud init process? Attempting to debug why user data on AWS isn't executing correctly so I'm attempting a nocloud image to debug locally.07:46
ChurchThinking that my first command in the script to `cloud-init status --wait` isn't working correctly. Nor is waiting for the /var/lib/cloud/instance/data/boot-finished file to exist before continuing my user data script working either.07:47
holtgreweHello. I want to bootstrap a RockyLinux based machine with cloud-init. I have the following in /var/lib/cloud/instance/cloud-config.txt. https://pastebin.com/ZEMfmqnN However, eth0 and eth1 are configured with DHCP. Other configuration such as SSH host keys are written correctly.12:56
holtgreweMy VM is launched from OpenStack. Am I overlooking something? Why is my network configuration not applied from /var/lib/cloud/instance/cloud-config.txt?12:57
holtgreweHm, maybe this configuration must come from /etc/cloud/cloud.cfg{,.d/*} and not from the user-data...13:03
holtgreweYes, that is the case. https://stackoverflow.com/a/58368766/8434913:13
=== gschanuel21 is now known as gschanuel2
marttihello everyone15:15
=== gschanuel24 is now known as gschanuel2

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