Cloud Init
About
Cloud-init is a widely used approach to customize a Linux VM as it boots for the first time. Cloud-init is called during the initial boot process, there are no additional steps or required agents to apply your configuration.
You can use cloud-init to:
- install packages
- write files
- configure users and security.
Management
Enable
images must be cloud-init enabled
Script
#cloud-config files are text files encoded in base64.
See doc: Cloud-init
Package
Cloud-init automatically uses the native package management tool for the distro you select (ie yum, apt,…)