Cloud-init bootcmd and runcmd

I was wondering does RancherOS support bootcmd and runcmd cloud-init directives? I just want to run some commands when the instance is booted for the first time (and eventually restarted as well).

If not, is there any other way? One solution would be to create Docker image just for these commands, but that seems to be a bit overkill.


This is a bit late, but the answer is no, there is no bootcmd or runcmd subset of cloud-init in RancherOS (yet…).