[14:00] <usrenmae> Hello. What is the order of cloud-init directives execution? I'm running packer against AWS instances providing it with user-data as cloud-init file, which has "write-files" directives as the last line. I was hoping to only allow stopping the instance once the last directive is done, but it seems like the file is written, but the earliest directives do not manage to finish by the time the "write_files" is done.
[14:01] <usrenmae> So I am left with packages not installed and repos not included in my resulting os image. What's the right way to approach the problem?
[22:36] <manuq> can I have a cloud-config YAML script AND a bash script running both at boot?