summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-04-28 18:24:42 -0400
committerDan Radez <dradez@redhat.com>2016-04-28 18:24:42 -0400
commitd93d2992ff5de7f60c47fd3c31e429e5c06f6bce (patch)
treef8740e8883134db10b272f586f84c4861296d128 /ci/deploy.sh
parent40d7cd35fd1106235459ac872db1be5a158b3a5e (diff)
Standarizing CONFIG and RESOURCES
- first stage in standarizing how custom config values are passed in by moving to using ENV vars to pass in custom params - next stage is to remove the -r and -c options in deploy.sh Moving this direction will reduce managment of custom parameters and rely on ENV vars to make the customizations for development Change-Id: Ibbc171d5e6801b27c1b62ca65c2a9f7830483b97 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index a9a9509e..ebcde335 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -38,8 +38,8 @@ declare -A NET_MAP
SSH_OPTIONS=(-o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null -o LogLevel=error)
DEPLOY_OPTIONS=""
-RESOURCES=/var/opt/opnfv/images
-CONFIG=/var/opt/opnfv
+RESOURCES=${RESOURCES:-'/var/opt/opnfv/images'}
+CONFIG=${CONFIG:-'/var/opt/opnfv'}
OPNFV_NETWORK_TYPES="admin_network private_network public_network storage_network"
# Netmap used to map networks to OVS bridge names
NET_MAP['admin_network']="br-admin"