Provide specific path of the 'local_settings' file

The path of the 'local_settings' file is not right in
"http://docs.openstack.org/kilo/config-reference/content/configure-dashboard.html".
The path of the 'local_settings' file is different under different
Linux versions. This patch give the specific path of the "local_settings".o

Change-Id: I1dcea4e58d20f7c8cc2a1c397d75ac3e6a667486
Closes-bug: #1502609
This commit is contained in:
chen.qiaomin 2015-09-20 15:47:36 -04:00
parent d2f306e218
commit 6df94a272c
2 changed files with 10 additions and 6 deletions

View File

@ -11,9 +11,11 @@
<procedure xml:id="dashboard-config-http">
<step>
<para>Specify the host for your OpenStack Identity
Service endpoint in the
<filename>/etc/openstack-dashboard/local_settings.py</filename>
file with the <literal>OPENSTACK_HOST</literal>
Service endpoint in the <filename>local_settings</filename> file(on Fedora/RHEL/
CentOS: <filename>/etc/openstack-dashboard/local_settings</filename>,
on Ubuntu and Debian: <filename>/etc/openstack-dashboard/local_settings.py</filename>,
and on openSUSE: <filename>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>)
with the <literal>OPENSTACK_HOST</literal>
setting.</para>
<para>The following example shows this setting:</para>
<programlisting language="python"><?db-font-size 65%?><xi:include parse="text" href="samples/local_settings.py"/></programlisting>

View File

@ -14,9 +14,11 @@
<literal>http://openstack.example.com</literal>
domain. Use a domain that fits your current setup.</para>
<step>
<para>In the
<filename>/etc/openstack-dashboard/local_settings.py</filename>
file, update the following options:</para>
<para>In the <filename>local_settings</filename> file(on Fedora/RHEL/
CentOS: <filename>/etc/openstack-dashboard/local_settings</filename>,
on Ubuntu and Debian: <filename>/etc/openstack-dashboard/local_settings.py</filename>,
and on openSUSE: <filename>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>),
update the following options:</para>
<programlisting language="python">USE_SSL = True
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True