Cloud config¶
Example¶
#cloud-config
password: password
chpasswd:
expire: False
Explanation¶
Cloud-config can be used to define how an instance should be configured in a human-friendly format. The cloud config format uses YAML with keys which describe desired instance state.
These things may include:
performing package upgrades on first boot
configuration of different package mirrors or sources
initial user or group setup
importing certain SSH keys or host keys
and many more…
Many modules are available to process cloud-config data. These modules may run once per instance, every boot, or once ever. See the associated module to determine the run frequency.
See the cloud-config reference and example configurations for more details.