From 685e79ab0fc6dbc2e3f5601e631fa03533e8bcf0 Mon Sep 17 00:00:00 2001 From: George Melikov Date: Wed, 20 May 2020 11:45:37 +0300 Subject: [PATCH] README: add example for variable override Change-Id: Ic63b298a185e7493032b6b59943db8e8bd42b18c Signed-off-by: George Melikov --- README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.rst b/README.rst index c4ed00e..ce859bc 100644 --- a/README.rst +++ b/README.rst @@ -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