aboutsummaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/admin/image-building.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/source/admin/image-building.rst b/doc/source/admin/image-building.rst
index e38687361..de5f4d8e8 100644
--- a/doc/source/admin/image-building.rst
+++ b/doc/source/admin/image-building.rst
@@ -149,6 +149,19 @@ The ``kolla-build.conf`` file could look like this:
Note that the name of the section should exactly match the image name
you are trying to change source location for.
+If using the ``local`` source type, the ``--locals-base`` flag can be used to
+define a path prefix, which you can reference in the config.
+
+.. path etc/kolla/kolla-build.conf
+.. code-block:: ini
+
+ [DEFAULTS]
+ locals_base = /home/kolla/src
+
+ [heat-base]
+ type = local
+ location = $locals_base/heat
+
.. _dockerfile-customisation:
Dockerfile customisation