Allow operators to customise keystone source install

TrivialFix

Change-Id: I5fb6e2b72e56e018ed640811a9f4d1d77a3efb11
This commit is contained in:
Paul Bourke 2016-09-16 11:11:32 +01:00
parent 32b74538d8
commit 893f14812d

View File

@ -58,6 +58,7 @@ RUN echo > /etc/apache2/ports.conf
{% endif %}
{% block keystone_source_install %}
ADD keystone-base-archive /keystone-base-source
RUN ln -s keystone-base-source/* keystone \
&& useradd --user-group keystone \
@ -67,6 +68,7 @@ RUN ln -s keystone-base-source/* keystone \
&& cp /var/lib/kolla/venv/bin/keystone-wsgi-admin /var/www/cgi-bin/keystone/admin \
&& cp /var/lib/kolla/venv/bin/keystone-wsgi-public /var/www/cgi-bin/keystone/main \
&& chown -R keystone: /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone
{% endblock %}
{% endif %}
@ -76,4 +78,4 @@ RUN usermod -a -G kolla keystone \
{% block keystone_base_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
{{ include_footer }}