Is there any other setting required for the the script to run on boot? I followed exactly same steps mentioned in this article but the script doesn't fire up, no log entry in the cloud-init.log as well. I'm able to execute the script manually and the record set is getting updated.
Nevermind I managed to fix it, the script had to be made executable and also had to update /etc/cloud/cloud.cfg file's - scripts-per-boot to - [scripts-per-boot, always]
Is there any other setting required for the the script to run on boot? I followed exactly same steps mentioned in this article but the script doesn't fire up, no log entry in the cloud-init.log as well. I'm able to execute the script manually and the record set is getting updated.
Nevermind I managed to fix it, the script had to be made executable and also had to update
/etc/cloud/cloud.cfg
file's- scripts-per-boot
to- [scripts-per-boot, always]
It worked for me in 2024 by simply putting the script in .../per-boot/ like the article mentioned