11.1 安装dashboard
sudo apt-get install openstack-dashboard
去掉ubuntu的主题
sudo apt-get removeopenstack-dashboard-ubuntu-theme
11.2 配置dashboard
sudo vim/etc/openstack-dashboard/local_settings.py
OPENSTACK_HOST = "kilo"
ALLOWED_HOSTS = '*'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
}
}
OPENSTACK_KEYSTONE_DEFAULT_ROLE ="user"
TIME_ZONE = "CST"
#try:
# from ubuntu_theme import *
#except ImportError:
# pass
11.3 重启服务
service apache2 restart