Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/configuration/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ Each INI file content is standardized to use:
- ``=`` as key/value delimiter
- ``#`` for comments.

INI values also support environment variable expansion via standard shell-style
references such as ``$VAR`` and ``${VAR}``.

.. code-block:: ini

[easypy]
runinfo.directory = $HOME/work/pyats/runinfo
runinfo.archive = $ARCHIVE_ROOT/pyats

If an environment variable referenced in ``pyats.conf`` is not set, pyATS logs
a warning and substitutes an empty string.

.. note::

do not use quotes around strings in INI files - see
Expand Down