DEV Community

Discussion on: Amazon Route 53: How to automatically update IP addresses without using Elastic IPs

Collapse
 
mayankdedhia profile image
Mayank

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.

Collapse
 
mayankdedhia profile image
Mayank

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]

Collapse
 
aycarambo profile image
Lucas Stanislas

It worked for me in 2024 by simply putting the script in .../per-boot/ like the article mentioned