aboutsummaryrefslogtreecommitdiffstats
path: root/docker/firstboot
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2016-12-06 22:18:23 +0000
committerFlavio Percoco <flaper87@gmail.com>2016-12-19 18:13:57 +0100
commite6bc52058174d4dd5e35f075f20c58c164206d98 (patch)
tree80836627717d070e07990eca2fb698a3f66f1d6b /docker/firstboot
parent299c30192535573f7f515a575f13782a1e8fdf82 (diff)
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
Diffstat (limited to 'docker/firstboot')
-rwxr-xr-xdocker/firstboot/start_docker_agents.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/firstboot/start_docker_agents.sh b/docker/firstboot/start_docker_agents.sh
index e7e276b..40e5248 100755
--- a/docker/firstboot/start_docker_agents.sh
+++ b/docker/firstboot/start_docker_agents.sh
@@ -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"