可以用packstack --gen-answer-file=answer-file.txt来生成的应答文件,通过配置应答文件就可以做批量配置。
硬件条件:
6G RAM
关闭与开启以下服务:
$ sudo systemctl disable firewalld
$sudo systemctl stop firewalld
$ sudo systemctl disable NetworkManager
$ sudo systemctl stop NetworkManager
$ sudo systemctl enable network
$ sudo systemctl start network
安装openstack:
On RHEL:
$ sudo yum install -y https://www.rdoproject.org/repos/rdo-release.rpm
$ sudo yum update -y
$ sudo yum install -y openstack-packstack
$ sudo packstack --allinone
On CentOS:
$ sudo yum install -y centos-release-openstack-ocata
$ sudo yum update -y
$ sudo yum install -y openstack-packstack
$ sudo packstack --gen-answer-file=answer-file.txt
$ sudo packstack --answer-file=answer-file.txt