Use the default policy.json for Qinling

To avoid complexity and possible issue during the Qinling usage
we should build the Qinling Docker images with the policy.json file.

The reason why is because Qinling doesn't have default policies.

Change-Id: I13f64fcbfb3150efcb94af267f463eaddb11621d
Closes-Bug: #1830900
Implements: blueprint qinling-support
This commit is contained in:
Gaetan Trellu 2019-05-29 08:59:05 -04:00
parent 3e9cf08ac5
commit c0f9ced6f2
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ ADD qinling-base-archive /qinling-base-source
RUN ln -s qinling-base-source/* qinling \
&& {{ macros.install_pip(qinling_base_pip_packages | customizable("pip_packages")) }} \
&& mkdir -p /etc/qinling \
&& cp -r /qinling/etc/* /etc/qinling/ \
&& cp -r /qinling/etc/policy.json.sample /etc/qinling/policy.json \
&& chown -R qinling: /etc/qinling
{% endif %}