Read site name from env instead of hardcoded value
* Read site name from env, so that treasuremap's default site 'virtual-airship-core' can be set in env and used in template. Change-Id: I94d509ce9527bc79b9dbcaf3068a11ad1f5bf66e
This commit is contained in:
parent
e2e8732fed
commit
ba486d8a8d
@ -23,6 +23,7 @@ export IMAGE_DIR=${IMAGE_DIR:-"/srv/images"}
|
|||||||
export SERVE_PORT=${SERVE_PORT:-"8099"}
|
export SERVE_PORT=${SERVE_PORT:-"8099"}
|
||||||
export AIRSHIPCTL_WS=${AIRSHIPCTL_WS:-$PWD}
|
export AIRSHIPCTL_WS=${AIRSHIPCTL_WS:-$PWD}
|
||||||
export TMP_DIR=${TMP_DIR:-"$(dirname $(mktemp -u))"}
|
export TMP_DIR=${TMP_DIR:-"$(dirname $(mktemp -u))"}
|
||||||
|
export SITE=${SITE:-"test-site"}
|
||||||
|
|
||||||
ANSIBLE_CFG=${ANSIBLE_CFG:-"${HOME}/.ansible.cfg"}
|
ANSIBLE_CFG=${ANSIBLE_CFG:-"${HOME}/.ansible.cfg"}
|
||||||
ANSIBLE_HOSTS=${ANSIBLE_HOSTS:-"${TMP_DIR}/ansible_hosts"}
|
ANSIBLE_HOSTS=${ANSIBLE_HOSTS:-"${TMP_DIR}/ansible_hosts"}
|
||||||
|
@ -15,7 +15,7 @@ serve_dir: /srv/images
|
|||||||
serve_port: 8099
|
serve_port: 8099
|
||||||
local_src_dir: "$AIRSHIPCTL_WS"
|
local_src_dir: "$AIRSHIPCTL_WS"
|
||||||
ansible_user: root
|
ansible_user: root
|
||||||
site_name: test-site
|
site_name: "$SITE"
|
||||||
sphinx_build_dir: docs/build
|
sphinx_build_dir: docs/build
|
||||||
python_version: 3.7
|
python_version: 3.7
|
||||||
zuul:
|
zuul:
|
||||||
|
Loading…
Reference in New Issue
Block a user