Update install.conf.template to be aligned with new install.sh
Change-Id: I0e18b17058d9395abefccfdacd980117fbdcd981
This commit is contained in:
parent
fcb86818d9
commit
c798020b99
@ -19,7 +19,7 @@ export SUBNET=192.168.10.0/24
|
||||
# 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)
|
||||
IP_RANGE="192.168.10.100 192.168.10.254"
|
||||
export IP_RANGE='192.168.10.100 192.168.10.254'
|
||||
# TFTP server's IP address(Default: Management Interface/eth0 IP)
|
||||
export NEXTSERVER=`ifconfig $NIC | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
|
||||
export ipaddr=`ifconfig $NIC | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
|
||||
@ -27,15 +27,19 @@ export ipaddr=`ifconfig $NIC | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1
|
||||
export NAMESERVER_DOMAINS=ods.com
|
||||
|
||||
# set the default cobbler user "cobbler" password, if not set, the default will be cobbler/cobbler
|
||||
CBLR_USER=cobbler
|
||||
CBLR_PASSWD=cobbler
|
||||
export CBLR_USER=cobbler
|
||||
export CBLR_PASSWD=cobbler
|
||||
|
||||
# IMAGE_SOURCE is where you host your CentOS image
|
||||
#export IMAGE_SOURCE=http://12.234.32.58/software/OS/centos/centos6.4/CentOS-6.4-x86_64-minimal.iso
|
||||
export IMAGE_SOURCE=http://mirror.rackspace.com/CentOS/6/isos/x86_64/CentOS-6.5-x86_64-minimal.iso
|
||||
IMAGE_NAME=$(echo $IMAGE_SOURCE |rev|cut -d '/' -f1|rev)
|
||||
export IMAGE_NAME=${IMAGE_NAME/.iso/''}
|
||||
export COBBLER_PASSWORD=cobbler
|
||||
export IMAGE_TYPE=${IMAGE_TYPE:-"CentOS"}
|
||||
export IMAGE_VERSION_MAJOR=${IMAGE_VERSION_MAJOR:-"6"}
|
||||
export IMAGE_VERSION_MINOR=${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 IMAGE_SOURCE=${IMAGE_SOURCE:-"http://mirror.rackspace.com/${IMAGE_TYPE}/${IMAGE_VERSION_MAJOR}/isos/${IMAGE_ARCH}/${IMAGE_TYPE}-${IMAGE_VERSION}-${IMAGE_ARCH}-minimal.iso"}
|
||||
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
|
||||
@ -47,8 +51,12 @@ export CHEF_SRV=http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/che
|
||||
export CHEF_PASSWD=root1234
|
||||
|
||||
# Set Compass-web and Compass-adpater variables
|
||||
WEB_HOME=
|
||||
ADAPTER_HOME=
|
||||
export WEB_HOME=${WEB_HOME:='/tmp/web'}
|
||||
export ADAPTER_HOME=${ADAPTER_HOME:-'/tmp/adapter'}
|
||||
export WEB_SOURCE=${WEB_SOURCE:-${REPO_URL}'/stackforge/compass-web'}
|
||||
export ADAPTER_SOURCE=${ADAPTER_SOURCE:-${REPO_URL}'/stackforge/compass-adapters'}
|
||||
export SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
export COMPASSDIR=${SCRIPT_DIR}/..
|
||||
|
||||
# Set test script variables
|
||||
export NAMESERVERS=$ipaddr
|
||||
@ -56,7 +64,3 @@ export NTP_SERVER=$ipaddr
|
||||
export GATEWAY=$ipaddr
|
||||
export PROXY=http://$ipaddr:3128
|
||||
|
||||
if [[ -n $source ]] && [ $source = "local" ];then
|
||||
export WEB_SOURCE=${DIR}/../web
|
||||
export ADAPTER_SOURCE=${DIR}/../misc
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user