Fix case where ~/.ssh/id_rsa.pub is a softlink
authorbrian avery <brian.avery@intel.com>
Fri, 10 Nov 2017 21:15:12 +0000 (13:15 -0800)
committerbrian avery <brian.avery@intel.com>
Fri, 10 Nov 2017 21:15:12 +0000 (13:15 -0800)
commit4668cb0fe680bb43dbbbce661c2c53c9762c0546
tree5276faf126f51ed7b681546fab86b0b9058acfb7
parent1e0b1b4c1271e3668ec5ef1ba58cb84fe00f0f53
Fix case where ~/.ssh/id_rsa.pub is a softlink

Some users may have the default id_rsa/id_rsa.pub be a softlink to one
of a set of rsa keys. In this case, the cp would result in a dangling
softlink in the container and the startup fails. Adding a -L to the cp
command results in copying whatever the softlink points to into the
container, which seems like the desired behaviour.

Signed-off-by: brian avery <brian.avery@intel.com>
scripts/xds-docker-create-container.sh