As far as i understand it, cloud-init handles early initialization of a cloud instance.
Ive been using it to help build KVM VMs and it works really well.
One aspect of cloud-init I dont understand is what happens once its done the initial creation of the instance.
Does it automatically disable itself so it never runs again?
Can it execute again under certain circumstances? (I'm pretty sure I got it to re-run by running
Code:
sudo rm -rf /var/lib/cloud/*
)
Should I be uninstalling cloud-init once my instance has been built and its gone into production?
Bookmarks