Describe postgres env vars in the install doc
Change-Id: I352ee1209430d21a7e872297013db0853c78a089
This commit is contained in:
parent
9afd63af46
commit
25ff4b7e1a
|
@ -160,7 +160,6 @@ You can configure PostgreSQL database or as an alternative SQLite.
|
|||
Configuring PostgreSQL
|
||||
++++++++++++++++++++++
|
||||
|
||||
|
||||
Set local peers to be trusted by default, create user and db and load fixtures.
|
||||
|
||||
.. code-block:: bash
|
||||
|
@ -178,6 +177,21 @@ Set local peers to be trusted by default, create user and db and load fixtures.
|
|||
sudo -u postgres psql -c "CREATE ROLE fuel_devops WITH LOGIN PASSWORD 'fuel_devops'"
|
||||
sudo -u postgres createdb fuel_devops -O fuel_devops
|
||||
|
||||
If you have already created database from previous install of the same fuel-devops version,
|
||||
you can set environment variables to use it.
|
||||
|
||||
Here are the default values that you can override:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
export DEVOPS_DB_ENGINE='django.db.backends.postgresql_psycopg2'
|
||||
export DEVOPS_DB_NAME=fuel_devops
|
||||
export DEVOPS_DB_USER=fuel_devops
|
||||
export DEVOPS_DB_PASSWORD=fuel_devops
|
||||
export DEVOPS_DB_HOST=127.0.0.1
|
||||
export DEVOPS_DB_PORT=5432
|
||||
export DEVOPS_DB_CHARSET=UTF8
|
||||
|
||||
Configuring SQLite3 database
|
||||
++++++++++++++++++++++++++++
|
||||
|
||||
|
|
|
@ -30,6 +30,13 @@ Requirements to use the template with the baremetal lab:
|
|||
# which is included into the bridge, and
|
||||
# another iface is provided in the environment
|
||||
# variable BAREMETAL_ADMIN_IFACE.
|
||||
# Example for existing bridge:
|
||||
# $ ip link add veth0 type veth peer name veth1
|
||||
# $ ip link set up veth0
|
||||
# $ ip link set up veth1
|
||||
# $ brctl addif <br_admin> veth0
|
||||
# $ export BAREMETAL_ADMIN_IFACE=veth1
|
||||
|
||||
- IPMI_HOST{1..5}, IPMI_USER, IPMI_PASSWORD # Access credentials
|
||||
# to IPMI nodes
|
||||
3. Configure MACs for *all* interfaces. In this template, order of the
|
||||
|
|
Loading…
Reference in New Issue