According to which release you want to install, change the 'centos-release-openstack-liberty'. For example, 'centos-release-openstack-kilo'.
Install the release version on each node.
$ sudo yum install -y centos-release-openstack-liberty
$ sudo yum update -y
On controller node, install the packstack
$ sudo yum install -y openstack-packstack
If you has only one node, use below command to install all in one.
$ packstack --allinone
If you have many nodes
On a node, using below command to generate answer file. Then edit the answer file according to your environment.
packstack --gen-answer-file answerfile.txt
Then modify the answerfile.txt according to your environment.
If you want a simple Openstack environment, you can disable some componet. like
CONFIG_CINDER_INSTALL=n
CONFIG_SWIFT_INSTALL=n
CONFIG_CEILOMETER_INSTALL=n
Finished the which node to be the controller node
CONFIG_CONTROLLER_HOST=192.168.200.2
Which node to be the compute node
CONFIG_COMPUTE_HOSTS=192.168.200.4,192.168.200.9
Which node to be the network node
CONFIG_NETWORK_HOSTS=192.168.200.3
Then choose which network type you want to install
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan,vlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan,vlan
On this node, run below command to start installation.
packstack --answer-file answerfile.txt
Stop NetWorkmanager service. The packstack also notify you the same thing.
service NetworkManager stop
chkconfig NetworkManager off
systemctl stop NetworkManager
systemctl disable NetworkManager