下载openstack-dashboard
#yum -y install openstack-dashboard
修改配置文件/etc/openstack-dashboard/local_settings
搜索星号内容添加修改配置文件
OPENSTACK_HOST = “sheng0”
OPENSTACK_KEYSTONE_URL = “http://%s:5000/v3” % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = “user”
**ALLOWED_HOSTS** = ['one.example.com', 'two.example.com','*']
**CACHES** = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'sheng0:11211',
}
}
**OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT** = True
**OPENSTACK_API_VERSIONS** = {
"identity": 3,
"image": 2,
"volume": 2,
}
**OPENSTACK_KEYSTONE_DEFAULT_DOMAIN** = "Default"
**OPENSTACK_NEUTRON_NETWORK** = {
'enable_router': True,
'enable_quotas': True,
'enable_ipv6': True,
'enable_distributed_router': False,
'enable_ha_router': False,
'enable_lb': True,
'enable_firewall': True,
'enable_vpn': True,
'enable_fip_topology_check': True,
**TIME_ZONE** = "UTC"
重启服务
systemctl restart httpd.service memcached.service