Merge "Fixes wrong local_setting.py file issue for Ubuntu binary deployment." into stable/stein

This commit is contained in:
Zuul 2019-08-22 10:27:31 +00:00 committed by Gerrit Code Review
commit ff6b0485cd
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ RUN echo > /etc/apache2/ports.conf \
&& cp /usr/share/openstack-dashboard/openstack_dashboard/conf/*.json /etc/openstack-dashboard \
&& cp /usr/share/openstack-dashboard/manage.py /usr/bin/manage.py \
&& rm /etc/apache2/conf-enabled/openstack-dashboard.conf \
&& rm /etc/openstack-dashboard/local_settings.py \
&& ln -s /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.py \
&& for locale in /usr/lib/python{{distro_python_version}}/site-packages/*/locale; do \
(cd ${locale%/*} && /usr/bin/python3 /usr/bin/manage.py compilemessages) \
done