I'm currently dealing with CoreOS, and so far I think I got the overall idea and concept. One thing that I did not yet get is execution of cloud-init
.
I understand that cloud-init
is a process that does some configuration for CoreOS. What I do not yet understand is…
- When does CoreOS run
cloud-init
? On first boot? On each boot? …? - How does
cloud-init
know where to find its configuration data? I've seen that there isconfig-drive
and that totally makes sense, but is this the only way? What exactly is the role of theuser-data
file? …?