Cloud-init bootcmd and runcmd

Hi,
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.

Thanks,
Stepan

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

https://github.com/rancher/os/issues/1102