Skip to content

Commit

Permalink
doc: add how-to for validating user data (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Peterson444 committed Jan 30, 2024
1 parent f7d3f23 commit 8ba12d1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions doc/howto/autoinstall-validation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _autoinstall_validation:

Validating user data
====================

Autoinstall user data is validated against a :doc:`JSON schema <../reference/autoinstall-schema>`
during runtime before it is applied. It can also be validated ahead of time by
using the `validate-autoinstall-user-data script <https://github.com/canonical/subiquity/blob/main/scripts/validate-autoinstall-user-data.py>`_

A header
--------
5 changes: 3 additions & 2 deletions doc/howto/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ Getting started with autoinstall

.. toctree::
:maxdepth: 1

Autoinstall quick start <autoinstall-quickstart>
Autoinstall quick start for s390x <autoinstall-quickstart-s390x>
Autoinstall validation <autoinstall-validation>

Found a problem?
----------------

.. toctree::
:maxdepth: 1

report-bugs

0 comments on commit 8ba12d1

Please sign in to comment.