File: README.rst

package info (click to toggle)
python-diskimage-builder 3.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,572 kB
  • sloc: sh: 7,380; python: 6,444; makefile: 37
file content (34 lines) | stat: -rw-r--r-- 1,365 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
======================
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.

.. warning::
   Use of the ConfigDrive data source is only considered, by default,
   for initial network configuration per cloud-init documentation.
   It is recommended that you utilize ``OpenStack`` in addition to
   ``ConfigDrive`` to collect all available metadata and configuration.
   As a result of configuration drive use, cloud-init's automatic
   metadata discovery network activation is disabled.