aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf/cluster.conf
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-07-10 22:38:31 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-07-11 02:34:23 -0400
commit2774e3141ec319be39a6c37dabae5b30d5e43b6b (patch)
tree72b0ebe494c4d76dd33ba998daabe2485e43fc00 /deploy/conf/cluster.conf
parent407ad32e7541fc21773f23bbff790775ffa8af8e (diff)
Improvement: add xenial into make_repo.sh
JIRA: COMPASS-431 Change-Id: I010c3df11bd7fe1fec6ad8034a0ae67bb3e84ac7 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/conf/cluster.conf')
-rw-r--r--deploy/conf/cluster.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy/conf/cluster.conf b/deploy/conf/cluster.conf
index cae78be3..69d8b435 100644
--- a/deploy/conf/cluster.conf
+++ b/deploy/conf/cluster.conf
@@ -2,7 +2,9 @@
export OS_VERSION=${OS_VERSION:-"trusty"}
# for Operating System
-if [ $OS_VERSION = 'trusty' ];then
+if [ $OS_VERSION = 'xenial' ]; then
+ export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)ubuntu-16\.04'}
+elif [ $OS_VERSION = 'trusty' ]; then
export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)ubuntu-14\.04\.3.*'}
else
export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)CentOS-7.*15.*'}