使用openstack-utils工具包
openstack-utils-2017.1-1.el7.noarch [root@compute1 ~]# rpm -qi openstack-utils Name : openstack-utils Version : 2017.1Release : 1.el7 Architecture: noarch Install Date: Wed 10 Jun 2020 04:13:04PM CST Group : Unspecified Size : 29783License : ASL 2.0Signature : RSA/SHA1, Wed 28 Feb 2018 05:38:22PM CST, Key ID f9b9fee7764429e6 Source RPM : openstack-utils-2017.1-1.el7.src.rpm Build Date : Wed 22 Mar 2017 10:52:31PM CST Build Host : c1be.rdu2.centos.org Relocations : (not relocatable) Packager : CBS <cbs@centos.org>Vendor : CentOS URL : https://github.com/redhat-openstack/openstack-utils Summary : Helper utilities forOpenStack services Description : Utilities to aid the setup and configuration of OpenStack packages.
install
yum install openstack-utils -y
config
openstack-config --set /etc/nova/nova.conf placement auth_url http://controller:5000/v3 openstack-config --set /etc/nova/nova.conf vnc novncproxy_base_url http://10.199.187.110:6080/vnc_auto.html