compass-core/install/install.conf
xiaodongwang dda3f542d2 fix typo in centos7.0 and ubuntu14.04 repo var
Change-Id: I6eeb53de15063880d2b9be913e9d5f06766d4624
2015-01-18 21:35:16 -08:00

95 lines
5.9 KiB
Plaintext
Executable File

#####################################
# Config File for Compass Installer #
#####################################
# OS_INSTALLER indicates the tool for OS provisioning, default is 'cobbler'.
export OS_INSTALLER=${OS_INSTALLER:-cobbler}
# PACKAGE_INSTALLER indicates the tool for Package provisioning, default is 'chef'.
export PACKAGE_INSTALLER=${PACKAGE_INSTALLER:-chef}
# service NIC
export NIC=${NIC:-}
export IPADDR=${IPADDR:-}
export NETMASK=${NETMASK:-}
# DHCP config
# DHCP option router address(Default is your management interface IP address )"
export OPTION_ROUTER=${OPTION_ROUTER:-}
# The IP range for DHCP clients (Default: local subnet start from 100 to 254)
export IP_START=${IP_START:-}
export IP_END=${IP_END:-}
# TFTP server's IP address(Default: Management Interface/eth0 IP)
export NEXTSERVER=${NEXTSERVER:-}
# the domains covered by nameserver
export NAMESERVER_DOMAINS=${NAMESERVER_DOMAINS:-}
export NAMESERVER_REVERSE_ZONES=${NAMESERVER_REVERSE_ZONES:-}
# set the default cobbler user "cobbler" password, if not set, the default will be cobbler/cobbler
export CBLR_USER=${CBLR_USER:-}
export CBLR_PASSWD=${CBLR_PASSWD:-}
# set default local repo flag
export LOCAL_REPO=${LOCAL_REPO:-}
export SUPPORT_CENTOS_6_5=${SUPPORT_CENTOS_6_5:-}
export SUPPORT_CENTOS_6_6=${SUPPORT_CENTOS_6_6:-}
export SUPPORT_CENTOS_7_0=${SUPPORT_CENTOS_7_0:-}
export SUPPORT_UBUNTU_12_04=${SUPPORT_UBUNTU_12_04:-}
export SUPPORT_UBUNTU_14_04=${SUPPORT_UBUNTU_14_04:-}
export IMAGE_TYPE=${IMAGE_TYPE:-"CentOS"}
export IMAGE_TYPE_OTHER=${IMAGE_TYPE_OTHER:-"el"}
export IMAGE_VERSION_MAJOR=${IMAGE_VERSION_MAJOR:-"6"}
export IMAGE_VERSION_NINOR=${IMAGE_VERSION_MINOR:-"5"}
export IMAGE_VERSION=${IMAGE_VERSION:-"${IMAGE_VERSION_MAJOR}.${IMAGE_VERSION_MINOR}"}
export IMAGE_NAME=${IMAGE_NAME:-"${IMAGE_TYPE}-${IMAGE_VERSION}"}
export IMAGE_ARCH=${IMAGE_ARCH:-"x86_64"}
export CENTOS_6_5_IMAGE_SOURCE=${CENTOS_6_5_IMAGE_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/centos/6.5/CentOS-6.5-x86_64.iso"}
export CENTOS_6_5_IMAGE_SOURCE_ASIA=${CENTOS_6_5_IMAGE_SOURCE_ASIA:-"http://mirrors.hustunique.com/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-minimal.iso"}
export CENTOS_6_6_IMAGE_SOURCE=${CENTOS_6_6_IMAGE_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/centos/6.6/CentOS-6.6-x86_64.iso"}
export CENTOS_6_6_IMAGE_SOURCE_ASIA=${CENTOS_6_6_IMAGE_SOURCE_ASIA:-"http://mirrors.hustunique.com/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-minimal.iso"}
export CENTOS_7_0_IMAGE_SOURCE=${CENTOS_7_0_IMAGE_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/centos/7.0/CentOS-7.0-x86_64.iso"}
export CENTOS_7_0_IMAGE_SOURCE_ASIA=${CENTOS_7_0_IMAGE_SOURCE_ASIA:-"http://mirrors.hustunique.com/centos/7.0.1406/isos/x86_64/CentOS-7.0-1406-x86_64-Minimal.iso"}
export UBUNTU_12_04_IMAGE_SOURCE=${UBUNTU_12_04_IMAGE_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/ubuntu/12.04/Ubuntu-12.04-x86_64.iso"}
export UBUNTU_12_04_IMAGE_SOURCE_ASIA=${UBUNTU_12_04_IMAGE_SOURCE_ASIA:-"http://mirrors.ustc.edu.cn/ubuntu-releases/12.04/ubuntu-12.04.4-server-amd64.iso"}
export UBUNTU_14_04_IMAGE_SOURCE=${UBUNTU_14_04_IMAGE_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/ubuntu/14.04/Ubuntu-14.04-x86_64.iso"}
export UBUNTU_14_04_IMAGE_SOURCE_ASIA=${UBUNTU_14_04_IMAGE_SOURCE_ASIA:-"http://mirrors.ustc.edu.cn/ubuntu-releases/14.04/ubuntu-14.04-server-amd64.iso"}
export CENTOS_6_5_PPA_REPO_SOURCE=${CENTOS_6_5_PPA_REPO_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/centos/6.5/centos_6_5_ppa_repo.tar.gz"}
export CENTOS_6_6_PPA_REPO_SOURCE=${CENTOS_6_6_PPA_REPO_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/centos/6.6/centos_6_6_ppa_rep.tar.gz"}
export CENTOS_7_0_PPA_REPO_SOURCE=${CENTOS_7_0_PPA_REPO_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/centos/7.0/centos_7_0_ppa_rep.tar.gz"}
export UBUNTU_12_04_PPA_REPO_SOURCE=${UBUNTU_12_04_PPA_REPO_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/ubuntu/12.04/ubuntu_12_04_ppa_repo.tar.gz"}
export UBUNTU_14_04_PPA_REPO_SOURCE=${UBUNTU_14_04_PPA_REPO_SOURCE:-"https://s3-us-west-1.amazonaws.com/compass-local-repo/ubuntu/14.04/ubuntu_14_04_ppa_repo.tar.gz"}
export COBBLER_PASSWORD=${COBBLER_PASSWORD:-"cobbler"}
# Currently the use of Javascript MVC is set to version 3.2.4
export JS_MVC=${JS_MVC:-"javascriptmvc-3.2.4"}
# set the chef packages download path
export CHEF_SRV=${CHEF_SRV:-"http://opscode-omnibus-packages.s3.amazonaws.com/${IMAGE_TYPE_OTHER}/${IMAGE_VERSION_MAJOR}/${IMAGE_ARCH}/chef-server-11.0.8-1.${IMAGE_TYPE_OTHER}${IMAGE_VERSION_MAJOR}.${IMAGE_ARCH}.rpm"}
export CHEF_SRV_HUAWEI=${CHEF_SRV_HUAWEI:-"http://huawei-repo.uubright.com/repos/compass/${IMAGE_TYPE_OTHER}/${IMAGE_VERSION_MAJOR}/${IMAGE_ARCH}/chef-server-11.0.8-1.${IMAGE_TYPE_OTHER}${IMAGE_VERSION_MAJOR}.${IMAGE_ARCH}.rpm"}
export CHEF_CLIENT=${CHEF_CLIENT:-"https://opscode-omnibus-packages.s3.amazonaws.com/${IMAGE_TYPE_OTHER}/${IMAGE_VERSION_MAJOR}/${IMAGE_ARCH}/chef-11.10.4-1.${IMAGE_TYPE_OTHER}${IMAGE_VERSION_MAJOR}.${IMAGE_ARCH}.rpm"}
export CHEF_CLIENT_HUAWEI=${CHEF_CLIENT_HUAWEI:-"http://huawei-repo.uubright.com/repos/compass/${IMAGE_TYPE_OTHER}/${IMAGE_VERSION_MAJOR}/${IMAGE_ARCH}/chef-11.10.4-1.${IMAGE_TYPE_OTHER}${IMAGE_VERSION_MAJOR}.${IMAGE_ARCH}.rpm"}
# Set Chef password for Chef web UI
export CHEF_PASSWD=${CHEF_PASSWD:-"root1234"}
# Set Compass-web and Compass-adpater variables
export WEB_HOME=${WEB_HOME:-'/tmp/web'}
export ADAPTERS_HOME=${ADAPTERS_HOME:-'/tmp/adapter'}
export WEB_SOURCE=${WEB_SOURCE:-}
export ADAPTERS_SOURCE=${ADAPTERS_SOURCE:-}
# Set compass environment
export SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
export COMPASSDIR=${SCRIPT_DIR}/..
export TESTMODE=${TESTMODE:-"False"}
# Set Local Repo sources
export LOCAL_REPO_US=${LOCAL_REPO_US:-"https://s3-us-west-1.amazonaws.com/compass-local-repo"}
export LOCAL_REPO_HUAWEI=${LOCAL_REPO_HUAWEI:-"http://huawei-repo.uubright.com/repos/compass"}