diskimage-builder/elements/cloud-init-datasources
Gregory Haynes dc33f6ddd0 Simple-init should disable cloud-init
Cloud-init and simple-init are not meant to play together. Lets disable
cloud-init if simple-init is installed.

Also guarding cloud-init-datasources against running in an environment
where cloud-init is not installed.

Change-Id: I5bfa9a3e83d3259db2436404034ad58c780de1c9
2015-05-11 16:55:02 +00:00
..
install.d Simple-init should disable cloud-init 2015-05-11 16:55:02 +00:00
README.rst Update cloud-init-datasources README 2015-04-08 06:57:44 +00:00

cloud-init-datasources

Configures cloud-init to only use an explicit list of data sources.

Cloud-init contains a growing collection of data source modules and most are enabled by default. This causes cloud-init to query each data source on first boot. This can cause delays or even boot problems depending on your environment.

Including this element without setting DIB_CLOUD_INIT_DATASOURCES will cause image builds to fail.

Environment Variables

DIB_CLOUD_INIT_DATASOURCES
Required

Yes

Default

None

Description

A comma-separated list of valid data sources to limit the data sources that will be queried for metadata on first boot.

Example

DIB_CLOUD_INIT_DATASOURCES="Ec2" will enable only the Ec2 data source.

Example

DIB_CLOUD_INIT_DATASOURCES="Ec2, ConfigDrive, OpenStack" will enable the Ec2, ConfigDrive and OpenStack data sources.