diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-10 22:38:31 -0400 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-11 02:34:23 -0400 |
commit | 2774e3141ec319be39a6c37dabae5b30d5e43b6b (patch) | |
tree | 72b0ebe494c4d76dd33ba998daabe2485e43fc00 /deploy/conf | |
parent | 407ad32e7541fc21773f23bbff790775ffa8af8e (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')
-rw-r--r-- | deploy/conf/cluster.conf | 4 |
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.*'} |