File: scripts.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 (34 lines) | stat: -rw-r--r-- 740 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.. _cce-scripts:

Control vendor-data use
***********************

The use of :ref:`vendor-data <vendor-data>` can be controlled by the user.
Vendor-data can be used (or disabled) with an optional prefix.

For a full list of keys, refer to the
:ref:`scripts vendor module <mod_cc_scripts_vendor>` docs.

Example 1
---------

.. literalinclude:: ../../../module-docs/cc_scripts_vendor/example1.yaml
   :language: yaml
   :linenos:

Example 2
---------

.. literalinclude:: ../../../module-docs/cc_scripts_vendor/example2.yaml
   :language: yaml
   :linenos:

Example 3
---------

With this example, vendor-data will not be processed.

.. literalinclude:: ../../../module-docs/cc_scripts_vendor/example3.yaml
   :language: yaml
   :linenos: