docker.userguide: Fix instruction for copying ssh keys 65/65165/1
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Thu, 15 Nov 2018 09:43:31 +0000 (09:43 +0000)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Thu, 15 Nov 2018 09:43:31 +0000 (09:43 +0000)
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>
docs/release/userguide/docker.userguide.rst

index 4947ec7..c58405e 100644 (file)
@@ -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.