compass-core/install/install.conf.template
Xicheng Chang fe42570fd4 Switch Atomic release to remi-release
- Atomic official site download speed is slow
- switching atomic release rpm to remi-release

Change-Id: I882a9a4f1986ef3730b434918d1043d3c133ae97
2015-07-30 14:58:20 -07:00

71 lines
2.9 KiB
Plaintext
Executable File

#####################################
# Config File for Compass Installer #
#####################################
# REPO_URL indicates the source where to download compass-web and compass-adapters from
#export REPO_URL=https://review.openstack.org
# OS_INSTALLER indicates the tool for OS provisioning, default is 'cobbler'.
export OS_INSTALLER=cobbler
# PACKAGE_INSTALLER indicates the tool for Package provisioning, default is 'chef'.
export PACKAGE_INSTALLER=chef
# set remi release
# export ATOMIC=https://s3-us-west-1.amazonaws.com/compass-local-repo/atomic-release-1.0-19.el6.art.noarch.rpm
export REMI=http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# service NIC (A bridge "installation" is used for jenkins CI)
export NIC=installation
# default local repo config is "n"
export LOCAL_REPO=${LOCAL_REPO:-"y"}
export SUPPORT_CENTOS_6_5=${SUPPORT_CENTOS_6_5:-"y"}
export SUPPORT_CENTOS_6_6=${SUPPORT_CENTOS_6_6:-"y"}
export SUPPORT_CENTOS_7_0=${SUPPORT_CENTOS_7_0:-"y"}
export SUPPORT_UBUNTU_12_04=${SUPPORT_UBUNTU_12_04:-"y"}
export SUPPORT_UBUNTU_14_04=${SUPPORT_UBUNTU_14_04:-"y"}
export SUPPORT_SLES_11SP3=${SUPPORT_SLES_11SP3:-"n"}
export SUPPORT_UVP_11SP3=${SUPPORT_UVP_11SP3:-"n"}
# DHCP config
export IPADDR=`ifconfig $NIC | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
export NETMASK=$(ifconfig $NIC |grep Mask | cut -f 4 -d ':')
# DHCP option router address(Default is your management interface IP address )"
export OPTION_ROUTER=`ifconfig $NIC | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
# The IP range for DHCP clients (Default: local subnet start from 100 to 254)
export IP_START=`echo $IPADDR |cut -d. -f'1 2 3'`.128
export IP_END=`echo $IPADDR |cut -d. -f'1 2 3'`.254
# TFTP server's IP address(Default: Management Interface/eth0 IP)
export NEXTSERVER=`ifconfig $NIC | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
# the domains covered by nameserver
export NAMESERVER_DOMAINS=ods.com
export NAMESERVER_REVERSE_ZONES=unused
# the repo url
export WEB_SOURCE='http://git.openstack.org/stackforge'/compass-web
export ADAPTERS_SOURCE='http://git.openstack.org/stackforge/compass-adapters'
# set the default cobbler user "cobbler" password, if not set, the default will be cobbler/cobbler
export CBLR_USER=cobbler
export CBLR_PASSWD=cobbler
export COBBLER_PASSWORD=${COBBLER_PASSWORD:-"cobbler"}
# Currently the use of Javascript MVC is set to version 3.2.4
export JS_MVC=javascriptmvc-3.2.4
# Set Chef password for Chef web UI
export 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 SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
export COMPASSDIR=${SCRIPT_DIR}/..
# Set test script variables
# export NAMESERVERS=$IPADDR
# export NTP_SERVER=$IPADDR
# export GATEWAY=$IPADDR
# export PROXY=http://$IPADDR:3128
export TESTMODE=${TESTMODE:-"True"}