aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Walsh <owalsh@redhat.com>2017-05-15 21:21:57 +0100
committerOliver Walsh <owalsh@redhat.com>2017-05-15 21:32:38 +0100
commit9f272bda18824941a1ce9b406e6b9676664a712e (patch)
tree9547654e7d97b6ee01f98aa8fab572f594345aa1
parent7cd92c1b53700fb897e67c9a88214ab52f083c82 (diff)
Fix SshHostPubKeyDeployment on containerized nova-compute.
This is failing since https://review.openstack.org/458672 merged because the ssh host keys are not mapped to the container. Change-Id: Ie868654f13bee04da642337cc344871903f40473 Closes-bug: #1690911
-rwxr-xr-xdocker/firstboot/start_docker_agents.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/firstboot/start_docker_agents.sh b/docker/firstboot/start_docker_agents.sh
index 1c5cc18d..7d227498 100755
--- a/docker/firstboot/start_docker_agents.sh
+++ b/docker/firstboot/start_docker_agents.sh
@@ -36,7 +36,8 @@ AGENT_COMMAND_MOUNTS="\
-v /usr/lib64/libseccomp.so.2:/usr/lib64/libseccomp.so.2 \
-v /usr/bin/docker:/usr/bin/docker \
-v /usr/bin/docker-current:/usr/bin/docker-current \
--v /var/lib/os-collect-config:/var/lib/os-collect-config"
+-v /var/lib/os-collect-config:/var/lib/os-collect-config \
+-v /etc/ssh:/etc/ssh"
# heat-docker-agents service
cat <<EOF > /etc/systemd/system/heat-docker-agents.service