test46 | Hello all, | 07:09 |
---|---|---|
test46 | I have a rocky9 based custom image and I tried to add a cloud-init user script to it. But the user script is not getting executed. I can also not find the script anywhere in the /var/lib/cloud/* directory. However, `curl http://169.254.169.254/latest/user-data` (it's an OpenStack setup) shows the userscript I was trying to execute. Can someone help | 07:09 |
test46 | me with how to execute the userscript? | 07:09 |
meena | test53: I assume you're test46… first off, you can change your nick to something easier to distinguish than testNM. secondly: | 11:33 |
meena | what does cloud-init have in /var/run/cloud? did it download the correct data | 11:34 |
meena | does the data validate? what does the log say? | 11:34 |
meena | there's a lot of questions here, many of which the log can probably answer | 11:35 |
test53 | meena Thanks for the reply! | 12:21 |
test53 | I was able to resolve the issue. The reason why cloud init was not getting executed was that the datasource was set only to noCloud. As I was using openstack, I tried deleting the file where datasource was set so that it could pick any source. It worked with the change. | 12:21 |
esv | hey folks, I'm trying to access the reference pages for 22.1 at cloudinit.readthedocs.io but the older versions seem to be gone, was that on purpose? | 19:15 |
falcojr | esv: should still be there | 19:50 |
falcojr | https://cloudinit.readthedocs.io/en/22.1_a/ | 19:50 |
falcojr | On the newer docs, on the left sidebar there's a small "v:latest" at the bottom that will expand if you mouse over it | 19:51 |
esv | it's restored now, wondering whether I hit a hiccup somewhere | 20:14 |
esv | yep, I'm aware of the version changing method, thanks either way. | 20:16 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!