2015-02-07 10:30:02 +00:00
|
|
|
======================
|
|
|
|
cloud-init-datasources
|
|
|
|
======================
|
2015-04-08 06:56:37 +00:00
|
|
|
|
2014-05-26 21:35:57 +00:00
|
|
|
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.
|
|
|
|
|
2015-04-08 06:56:37 +00:00
|
|
|
Including this element without setting `DIB_CLOUD_INIT_DATASOURCES` will cause
|
|
|
|
image builds to fail.
|
2014-05-26 21:35:57 +00:00
|
|
|
|
2015-04-08 06:56:37 +00:00
|
|
|
Environment Variables
|
|
|
|
---------------------
|
2014-05-26 21:35:57 +00:00
|
|
|
|
2015-04-08 06:56:37 +00:00
|
|
|
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.
|
2014-05-26 21:35:57 +00:00
|
|
|
|