Fix openSUSE dashboard file locations
The openstack packaging has been changed so that the horizon packages are now in /srv. Update all occurences. Change-Id: Ib53c7ba7396e7f99433068d7a4625b12bd918957 Closes-Bug: #1279892 backport: havana
This commit is contained in:
parent
442425c664
commit
cdbf99aa92
@ -675,7 +675,7 @@ header: Date: Thu, 13 Sep 2012 20:27:36 GMT
|
||||
on Ubuntu and Debian:
|
||||
<filename>/etc/openstack-dashboard/local_settings.py</filename>
|
||||
and on openSUSE and SUSE Linux Enterprise Server:
|
||||
<filename>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>)
|
||||
<filename>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>)
|
||||
<programlisting>OPENSTACK_HYPERVISOR_FEATURE = {
|
||||
...
|
||||
'can_set_password': False,
|
||||
|
@ -13,7 +13,7 @@
|
||||
(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
|
||||
>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>).
|
||||
>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>).
|
||||
</para>
|
||||
<para>The following sections describe the pros and cons of each
|
||||
option as it pertains to deploying the dashboard.</para>
|
||||
@ -135,7 +135,7 @@ CACHES = {
|
||||
(on Fedora/RHEL/CentOS: <filename>
|
||||
/etc/openstack-dashboard/local_settings</filename>, on Ubuntu/Debian:
|
||||
<filename>/etc/openstack-dashboard/local_settings.py</filename> and on openSUSE: <filename
|
||||
>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>),
|
||||
>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>),
|
||||
change these options:</para>
|
||||
<programlisting language="python"><?db-font-size 75%?>SESSION_ENGINE = 'django.core.cache.backends.db.DatabaseCache'
|
||||
DATABASES = {
|
||||
@ -155,7 +155,9 @@ DATABASES = {
|
||||
as shown, you can run the <command>manage.py
|
||||
syncdb</command> command to populate this
|
||||
newly-created database.</para>
|
||||
<screen><prompt>$</prompt> /usr/share/openstack-dashboard/manage.py syncdb </screen>
|
||||
<screen><prompt>$</prompt> <userinput>/usr/share/openstack-dashboard/manage.py syncdb</userinput></screen>
|
||||
<para>Note on openSUSE the path is <filename>/srv/www/openstack-dashboard/manage.py</filename>.
|
||||
</para>
|
||||
<para>As a result, the following output is
|
||||
returned:</para>
|
||||
<screen><computeroutput>Installing custom SQL ...
|
||||
|
@ -61,7 +61,7 @@
|
||||
os="centos;fedora;rhel"
|
||||
>/etc/openstack-dashboard/local_settings</filename><filename
|
||||
os="opensuse;sles"
|
||||
>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>
|
||||
>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>
|
||||
to match the ones set in <filename os="ubuntu;debian"
|
||||
>/etc/memcached.conf</filename><filename
|
||||
os="centos;fedora;rhel;opensuse;sles"
|
||||
@ -106,7 +106,7 @@
|
||||
os="ubuntu;debian"
|
||||
>/etc/openstack-dashboard/local_settings.py</filename><filename
|
||||
os="opensuse;sles"
|
||||
>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>
|
||||
>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>
|
||||
file.</para>
|
||||
<para>Change the following parameter:
|
||||
<code>TIME_ZONE = "UTC"</code></para>
|
||||
@ -124,7 +124,8 @@
|
||||
os="ubuntu;debian"
|
||||
>/etc/openstack-dashboard/local_settings.py</filename><filename
|
||||
os="opensuse;sles"
|
||||
>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>:</para>
|
||||
>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>:
|
||||
</para>
|
||||
<programlisting language="python" linenumbering="unnumbered"><?db-font-size 75%?>ALLOWED_HOSTS = ['localhost', 'my-desktop']
|
||||
</programlisting>
|
||||
</step>
|
||||
@ -139,7 +140,7 @@
|
||||
os="ubuntu;debian"
|
||||
>/etc/openstack-dashboard/local_settings.py</filename><filename
|
||||
os="opensuse;sles"
|
||||
>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>
|
||||
>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>
|
||||
and change <literal>OPENSTACK_HOST</literal> to the
|
||||
hostname of your Identity Service:</para>
|
||||
<programlisting language="python" linenumbering="unnumbered"><?db-font-size 75%?>OPENSTACK_HOST = "controller"
|
||||
|
Loading…
Reference in New Issue
Block a user