Resolve symlinks when copying undercloud.conf to container.

If undercloud.conf is a symlink, the mistral-executor
container crashes. This change adds "local_follow: true",
which fixes the problem.

Closes-Bug: #1833635
Change-Id: Iffb232212e0a952538f95f54ccd55b68737e99e1
Signed-off-by: Mihai Plasoianu <m.plasoianu@vertical.de>
This commit is contained in:
Mihai Plasoianu 2019-06-21 02:29:59 +02:00
parent b546b425f9
commit 92a0b41f3f

View File

@ -205,6 +205,7 @@ outputs:
dest: /var/lib/mistral/undercloud.conf
mode: 0444
setype: svirt_sandbox_file_t
local_follow: true
- name: mistral logs readme
copy:
dest: /var/log/mistral/readme.txt