packstack快速部署openstack

环境准备

建议16GB RAM

sed -i ‘/^SELINUX/s/enforcing/disabled/‘ /etc/selinux/config
systemctl stop firewalld && systemctl disable firewalld
systemctl stop NetworkManager && systemctl disable NetworkManager

1.Software repositories

yum install centos-release-openstack-stein -y
yum update -y

2.Install Packstack Installer

yum install openstack-packstack -y

3.Run Packstack to install OpenStack

packstack    ##应答安装参数
packstack --allinone    ##allinone模式packstack --gen-answer-file=<file>packstack --answer-file=<file>    ##选择应答文件

安装完成后会生成安装参数文件,可以对此文件编辑成应答文件

[ ~]# ls
anaconda-ks.cfg  cirros-0.4.0-x86_64-disk.img  keystonerc_admin  packstack-answers-20191213-171803.txt

关于安装参数,可以参考以下:

https://github.com/redhat-openstack/packstack/blob/master/docs/packstack.rst

packstack文档:

https://www.rdoproject.org/install/packstack/

https://wiki.openstack.org/wiki/Packstack

相关推荐