From 2774e3141ec319be39a6c37dabae5b30d5e43b6b Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Sun, 10 Jul 2016 22:38:31 -0400 Subject: Improvement: add xenial into make_repo.sh JIRA: COMPASS-431 Change-Id: I010c3df11bd7fe1fec6ad8034a0ae67bb3e84ac7 Signed-off-by: chenshuai@huawei.com --- deploy/conf/cluster.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'deploy/conf') 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.*'} -- cgit 1.2.3-korg