-
Notifications
You must be signed in to change notification settings - Fork 4
/
userinput.sh
executable file
·53 lines (45 loc) · 1.5 KB
/
userinput.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#Openstack Ocata bash script installation.
#In this section you are requested to enter the input parameters required for openstack installation.
#Edit this file carefully to avoid configuration error in openstack services.
HOST='controller'
PUBLIC_INTERFACE_NAME='eth0'
export ip=$(/sbin/ifconfig $PUBLIC_INTERFACE_NAME | grep 'inet addr' | cut -d: -f2 | awk '{print $1}')
export controllerip=$(/sbin/ifconfig $PUBLIC_INTERFACE_NAME | grep 'inet addr' | cut -d: -f2 | awk '{print $1}')
OVERLAY_INTERFACE_IP_ADDRESS=$ip
PROVIDER_INTERFACE_NAME=$PUBLIC_INTERFACE_NAME
REGION='RegionOne'
#DB Passwords
DBPASS='password'
KEYSTONE_DBPASS='password'
GLANCE_DBPASS='password'
NOVA_DBPASS='password'
NEUTRON_DBPASS='password'
CINDER_DBPASS='password'
HEAT_DBPASS='password'
CEILOMETER_DBPASS='password'
#Rabbit MQ Password
RABBIT_PASS='password'
#Openstack User Passwords
GLANCE_PASS='password'
NOVA_PASS='password'
PLACEMENT_PASS='password'
NEUTRON_PASS='password'
METADATA_SECRET='password'
CINDER_PASS='password'
HEAT_PASS='password'
CEILOMETER_PASS='password'
ADMIN_PASS='password'
DEMO_PASS='password'
#NTP
NTP_SERVER_CONTROLLER_NODE='in.pool.ntp.org'
NTP_SERVER_COMPUTE_NODE='controller'
NTP_LAN_RANGE='192.168.0.0/24'
#Deployment options
#Basic supporting services and keystone is mandatory, it will be installed. Remaining service installation are optional and it depends on your use case
INSTALL_GLANCE='yes'
INSTALL_NOVA='yes'
INSTALL_NEUTRON='yes'
INSTALL_CINDER='no'
INSTALL_HEAT='yes'
INSTALL_SWIFT='no'
INSTALL_HORIZON='yes'