Add bind mounts for agent state

These ensure that software configuration tasks are not re-run when the
heat-agents container is restarted.

Change-Id: Ieb84fe1f6dd849737ff22f51daa12ddc467dcdde
This commit is contained in:
Steve Baker 2016-12-06 22:18:23 +00:00 committed by Flavio Percoco
parent 299c301925
commit e6bc520581
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ AGENT_COMMAND_MOUNTS="-v /var/lib/etc-data:/var/lib/etc-data \
-v /var/lib/heat-cfntools:/var/lib/heat-cfntools \
-v /etc/sysconfig/docker:/etc/sysconfig/docker \
-v /etc/sysconfig/network-scripts:/etc/sysconfig/network-scripts \
-v /var/lib/os-collect-config:/var/lib/os-collect-config \
-v /var/lib/os-apply-config-deployments:/var/lib/os-apply-config-deployments \
-v /var/lib/heat-config:/var/lib/heat-config \
-v /usr/lib64/libseccomp.so.2:/usr/lib64/libseccomp.so.2"