Code Review
/
apex-tripleo-heat-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
01c4427
)
Ensure /etc/ssh/ssh_known_hosts exist in docker config-data.
author
Oliver Walsh
<owalsh@redhat.com>
Tue, 6 Jun 2017 20:16:38 +0000
(21:16 +0100)
committer
Oliver Walsh
<owalsh@redhat.com>
Wed, 7 Jun 2017 11:16:01 +0000
(12:16 +0100)
Works around the issue encountered in
1696283
.
Change-Id: I1947d9d1e3cabc5dfe25ee1af994d684425bdbf7
Resolves-Bug: #
1696283
docker/docker-puppet.py
patch
|
blob
|
history
diff --git
a/docker/docker-puppet.py
b/docker/docker-puppet.py
index
49dd00c
..
d9d0c25
100755
(executable)
--- a/
docker/docker-puppet.py
+++ b/
docker/docker-puppet.py
@@
-176,6
+176,10
@@
def mp_puppet_config((config_volume, puppet_tags, manifest, config_image, volume
mkdir -p /var/lib/config-data/${NAME}/etc
cp -a /etc/* /var/lib/config-data/${NAME}/etc/
+ # workaround LP1696283
+ mkdir -p /var/lib/config-data/${NAME}/etc/ssh
+ touch /var/lib/config-data/${NAME}/etc/ssh/ssh_known_hosts
+
if [ -d /root/ ]; then
cp -a /root/ /var/lib/config-data/${NAME}/root/
fi