Fix missing policy.json in Magnum

The magnum api falls over on a request without this file in place

Change-Id: Ic7ff8af22c3142d93e0dcf2b2ed5455685dec658
Closes-Bug: #1517152
This commit is contained in:
Paul Bourke 2015-11-17 17:38:29 +00:00
parent 4cddefe7d7
commit 2e50ead57e

View File

@ -23,7 +23,7 @@ RUN ln -s magnum-base-source/* magnum \
&& useradd --user-group magnum \
&& pip --no-cache-dir install -c requirements/upper-constraints.txt /magnum \
&& mkdir -p /etc/magnum /var/log/magnum /home/magnum \
&& cp -r /magnum/etc/* /etc/magnum/ \
&& cp -r /magnum/etc/magnum/* /etc/magnum \
&& chown -R magnum: /etc/magnum /var/log/magnum /home/magnum
{% endif %}