README: add example for variable override

Change-Id: Ic63b298a185e7493032b6b59943db8e8bd42b18c
Signed-off-by: George Melikov <mail@gmelikov.ru>
This commit is contained in:
George Melikov 2020-05-20 11:45:37 +03:00
parent 73524efb43
commit 685e79ab0f
1 changed files with 11 additions and 0 deletions

View File

@ -56,3 +56,14 @@ For example, running:
tox -e buildimage -- -s cifs
Will generate an Ubuntu based image with CIFS.
Configurable variables
----------------------
You can override some build variables from ``manila-image-create``, for example:
.. sourcecode:: bash
export DHCP_TIMEOUT=600
export MANILA_PASSWORD=PASSWORD
tox -e buildimage