File: fallback.rst

package info (click to toggle)
cloud-init 25.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 135,894; sh: 3,883; makefile: 141; javascript: 30; xml: 22
file content (19 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.. _datasource_fallback:

Fallback/no datasource
**********************

This is the fallback datasource when no other datasource can be selected. It
is the equivalent of an empty datasource, in that it provides an empty string
as user-data, and an empty dictionary as meta-data.

It is useful for testing, as well as for occasions when you do not need an
actual datasource to meet your instance requirements (i.e. you just want to
run modules that are not concerned with any external data).

It is typically put at the end of the datasource search list so that if all
other datasources are not matched, then this one will be so that the user is
not left with an inaccessible instance.

.. note::
   The instance id that this datasource provides is ``iid-datasource-none``.