Browse code

allow overrides for all params

Anthony Young authored on 2011/10/21 05:09:39
Showing 1 changed files
... ...
@@ -32,10 +32,10 @@ export NOVA_URL=${NOVA_URL:-http://$HOST:5000/v2.0/}
32 32
 
33 33
 # Currently novaclient needs you to specify the *compute api* version.  This
34 34
 # needs to match the config of your catalog returned by Keystone.
35
-export NOVA_VERSION=1.1
35
+export NOVA_VERSION=${NOVA_VERSION:-1.1}
36 36
 
37 37
 # FIXME - why does this need to be specified?
38
-export NOVA_REGION_NAME=RegionOne
38
+export NOVA_REGION_NAME=${NOVA_REGION_NAME:-RegionOne}
39 39
 
40 40
 # set log level to DEBUG (helps debug issues)
41
-export NOVACLIENT_DEBUG=1
41
+export NOVACLIENT_DEBUG=${NOVACLIENT_DEBUG:-0}