标签:settings 软件 sts backend 配置 角色 attr end dash
控制节点安装软件包
yum install openstack-dashboard -y
[root@linux-node1 ~]# vim /etc/openstack-dashboard/local_settings
#按照下面几行进行配置修改
OPENSTACK_HOST = "192.168.1.17" #更改为keystone机器地址
OPENSTACK_KEYSTONE_DEFAULT_ROLE =
"user" #默认的角色
ALLOWED_HOSTS = [‘*‘]
#允许所有主机访问
CACHES = {
‘default‘: {
‘BACKEND‘:
‘django.core.cache.backends.memcached.MemcachedCache‘,
‘LOCATION‘: ‘192.168.1.17:11211‘,
#连接memcached
}
}
#CACHES = {
# ‘default‘: {
# ‘BACKEND‘: ‘django.core.cache.backends.locmem.LocMemCache‘,
# }
#}
TIME_ZONE = "Asia/Shanghai"
#设置时区
重启 httpd 服务
[root@linux-node1 ~]# systemctl restart httpd
openstack Q版部署-----界面horizon安装(9)
标签:settings 软件 sts backend 配置 角色 attr end dash
原文地址:https://www.cnblogs.com/jinyuanliu/p/10313376.html