aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-09-30 10:13:38 +0800
committerJustin chi <chigang@huawei.com>2017-09-30 09:48:16 +0000
commit7304d45d9ae0b1d499d39b23167dfc2323810100 (patch)
tree3e7f701fe664a44049c50a40218fb877b8010385
parent58c599f20ed07bf2fb5b13150166452145e106a0 (diff)
Add default value for offline deploy switch
JIRA: COMPASS-563 The switch controls offline deploy missing default value which cause passing a empty value into ansible and lead to condition check error Change-Id: I0af4df0556dcbe30dacc743456728e8bdee698e8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 7e70daca6c7ac54e03fc72f6e27940c778ed5521)
-rw-r--r--deploy/conf/compass.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/conf/compass.conf b/deploy/conf/compass.conf
index bcf295c9..2c47ac48 100644
--- a/deploy/conf/compass.conf
+++ b/deploy/conf/compass.conf
@@ -16,6 +16,7 @@ export TIMEZONE="America/Los_Angeles"
export NTP_SERVER="$COMPASS_SERVER"
export NAMESERVERS="$COMPASS_SERVER"
export COMPASS_REPO_PORT="5151"
+export OFFLINE_DEPLOY=${OFFLINE_DEPLOY:-'Disable'}
export COMPASS_DECK="compass4nfv/compass-deck"
export COMPASS_TASKS="compass4nfv/compass-tasks-osa:euphrates"