Removed bind mount of .ssh in runcontext 75/3075/1
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Thu, 5 Nov 2015 13:17:54 +0000 (14:17 +0100)
committerStefan Berg <stefan.k.berg@ericsson.com>
Thu, 5 Nov 2015 16:01:59 +0000 (16:01 +0000)
commitcead930ece4a5b593009630627ddc47c16454a66
tree04ceed3a10731fbc8283d53c3b72925177b8c1f4
parent0f15359fa40d3ec89ee2ca26edece503e0205613
Removed bind mount of .ssh in runcontext

Previously the .ssh directory of the invoking user was bind mounted
into the build container. This behavior is now removed. The ssh keys
in the user's .ssh is however *copied* into the container if, and only
if, the RSYNC_CONNECT_PROG environment variable has been set as this
indicates the need to tunnel rsync traffic over (presumably) ssh. In
this case the keys may actually be needed.

In both cases the .ssh/config file will be updated with the
   StrictHostKeyChecking=no
option to prevent failure due to the ssh confirmation dialogue.

Change-Id: Ic2ecc9d7a9abfa796bdfa6aaa8cde0dcb632d76e
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
(cherry picked from commit bae859e2a47befeb3c6a97988dc778daf66e37bd)
fuel/build/docker/runcontext