diff --git a/doc/admin-guide-cloud/ch_compute.xml b/doc/admin-guide-cloud/ch_compute.xml index b39429858a..e677de6f37 100644 --- a/doc/admin-guide-cloud/ch_compute.xml +++ b/doc/admin-guide-cloud/ch_compute.xml @@ -675,7 +675,7 @@ header: Date: Thu, 13 Sep 2012 20:27:36 GMT on Ubuntu and Debian: /etc/openstack-dashboard/local_settings.py and on openSUSE and SUSE Linux Enterprise Server: - /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py) + /srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py) OPENSTACK_HYPERVISOR_FEATURE = { ... 'can_set_password': False, diff --git a/doc/common/section_dashboard_sessions.xml b/doc/common/section_dashboard_sessions.xml index dc163ce2c9..e1f501fa02 100644 --- a/doc/common/section_dashboard_sessions.xml +++ b/doc/common/section_dashboard_sessions.xml @@ -13,7 +13,7 @@ (on Fedora/RHEL/CentOS: /etc/openstack-dashboard/local_settings, on Ubuntu and Debian: /etc/openstack-dashboard/local_settings.py and on openSUSE: /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py). + >/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py). The following sections describe the pros and cons of each option as it pertains to deploying the dashboard. @@ -135,7 +135,7 @@ CACHES = { (on Fedora/RHEL/CentOS: /etc/openstack-dashboard/local_settings, on Ubuntu/Debian: /etc/openstack-dashboard/local_settings.py and on openSUSE: /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py), + >/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py), change these options: SESSION_ENGINE = 'django.core.cache.backends.db.DatabaseCache' DATABASES = { @@ -155,7 +155,9 @@ DATABASES = { as shown, you can run the manage.py syncdb command to populate this newly-created database. - $ /usr/share/openstack-dashboard/manage.py syncdb + $ /usr/share/openstack-dashboard/manage.py syncdb + Note on openSUSE the path is /srv/www/openstack-dashboard/manage.py. + As a result, the following output is returned: Installing custom SQL ... diff --git a/doc/install-guide/section_dashboard-install.xml b/doc/install-guide/section_dashboard-install.xml index 84d5a565d8..cc0a95d05c 100644 --- a/doc/install-guide/section_dashboard-install.xml +++ b/doc/install-guide/section_dashboard-install.xml @@ -61,7 +61,7 @@ os="centos;fedora;rhel" >/etc/openstack-dashboard/local_settings/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py + >/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py to match the ones set in /etc/memcached.conf/etc/openstack-dashboard/local_settings.py/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py + >/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py file. Change the following parameter: TIME_ZONE = "UTC" @@ -124,7 +124,8 @@ os="ubuntu;debian" >/etc/openstack-dashboard/local_settings.py/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py: + >/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py: + ALLOWED_HOSTS = ['localhost', 'my-desktop'] @@ -139,7 +140,7 @@ os="ubuntu;debian" >/etc/openstack-dashboard/local_settings.py/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py + >/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py and change OPENSTACK_HOST to the hostname of your Identity Service: OPENSTACK_HOST = "controller"