aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-11-15 09:43:31 +0000
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-11-15 09:43:31 +0000
commit566ee8399d5a3045aabe697f5bce9972802b6094 (patch)
treea4b804a2287678ee61480ae7a4e8c72c3e17f387
parent62972c1f478949a5142368653a6b639972c27910 (diff)
docker.userguide: Fix instruction for copying ssh keys
Previously 'ssh-copy-id' command tried to upload key from non-root user directory and next command was expecting that root key was copied (in that case ansible was unable to log into host machine) Change-Id: Iba25e6a8da0e5902883e5aa876f735e8f632d3b9 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
-rw-r--r--docs/release/userguide/docker.userguide.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst
index 4947ec7e..c58405e4 100644
--- a/docs/release/userguide/docker.userguide.rst
+++ b/docs/release/userguide/docker.userguide.rst
@@ -259,7 +259,8 @@ The example is for localhost.
.. code:: bash
- $ sudo ssh-copy-id root@localhost
+ $ sudo -i
+ $ ssh-copy-id root@localhost
Verify that key is added and password is not required to connect.