提交 3c6e34e3 编写于 作者: L Lukáš Doktor

docs: Use new base_dir location

The default for our configuration is currently /var/lib, which was not
reflected in Configuration documentation. This is not really important
as we only share it as "example configuration" but it might create
confussion.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 9b6e8e11
......@@ -14,9 +14,9 @@ that contain a number of `keys` and `values`. Take for example a basic Avocado c
.. code-block:: ini
[datadir.paths]
base_dir = ~/avocado
test_dir = /$HOME/Code/avocado/examples/tests
data_dir = /usr/share/avocado/data
base_dir = /var/lib/avocado
test_dir = /usr/share/avocado/tests
data_dir = /var/lib/avocado/data
logs_dir = ~/avocado/job-results
The ``datadir.paths`` section contains a number of keys, all of them related to directories used by
......@@ -105,9 +105,9 @@ configuration, after all the files are parsed in their correct resolution order.
$HOME/.config/avocado/avocado.conf
Section.Key Value
runner.base_dir /usr/share/avocado
runner.test_dir $HOME/Code/avocado/examples/tests
runner.data_dir /usr/share/avocado/data
runner.base_dir /var/lib/avocado
runner.test_dir /usr/share/avocado/tests
runner.data_dir /var/lib/avocado/data
runner.logs_dir ~/avocado/job-results
The command also shows the order in which your config files were parsed, giving you a better understanding of
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册