Ability to set LOCAL_STORAGE and HTTP_ROOT options from env vars
Change-Id: I522b9dc4c7c53e546cfae40582f9ebc60298c2fe
This commit is contained in:
parent
83cb086fd2
commit
11ef72a204
@ -13,12 +13,11 @@ then
|
||||
fi
|
||||
|
||||
# Defaults
|
||||
|
||||
LOCAL_STORAGE="/var/www/fuelweb-iso"
|
||||
|
||||
TRACKER_URL='http://seed-qa.msk.mirantis.net:8080/announce'
|
||||
HOSTNAME=`hostname -f`
|
||||
HTTP_ROOT="http://${HOSTNAME}/fuelweb-iso"
|
||||
|
||||
[[ -z "${LOCAL_STORAGE}" ]] && LOCAL_STORAGE="/var/www/fuelweb-iso"
|
||||
[[ -z "${TRACKER_URL}" ]] && TRACKER_URL='http://seed-qa.msk.mirantis.net:8080/announce'
|
||||
[[ -z "${HTTP_ROOT}" ]] && HTTP_ROOT="http://${HOSTNAME}/fuelweb-iso"
|
||||
|
||||
|
||||
# Process artifact
|
||||
|
Loading…
Reference in New Issue
Block a user