doc: most yaml samples in ccd format

This commit is contained in:
Dan Bungert 2023-07-07 08:58:27 -06:00
parent 02efd6ae7d
commit 337c4f8cc8
1 changed files with 75 additions and 70 deletions

View File

@ -149,10 +149,13 @@ The structure of an autoinstall configuration
See the :ref:`ai` for full details on the supported autoinstall directives. See the :ref:`ai` for full details on the supported autoinstall directives.
A minimal autoinstall configuration is: A minimal autoinstall configuration in
:external+cloud-init:ref:`user_data_formats-cloud_config` format looks like:
.. code-block:: yaml .. code-block:: yaml
#cloud-config
autoinstall:
version: 1 version: 1
identity: identity:
hostname: hostname hostname: hostname
@ -163,6 +166,8 @@ Here is an example file that shows off most features:
.. parsed-literal:: .. parsed-literal::
#cloud-config
autoinstall:
:ref:`ai-version`: 1 :ref:`ai-version`: 1
:ref:`ai-reporting`: :ref:`ai-reporting`:
hook: hook: