Welcome to the Linux Foundation Forum!

Using cloud-init to execute commands per-boot as well as first-boot


Wanted to know is it possible using cloud-init to execute a set of commands on the first boot as well as on every boot. Please note that I am looking solutions only using cloud-init.
I had read that runcmd is used for per-boot and bootcmd is used for first-boot but needed a confirmation on the same.
Kindly help.

Regards, Saurabh


Upcoming Training