]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: No ssh -t -t, forcing a pty allocation there makes it hang.
authorTommi Virtanen <tv@inktank.com>
Tue, 10 Jul 2012 23:11:33 +0000 (16:11 -0700)
committerTommi Virtanen <tv@inktank.com>
Tue, 10 Jul 2012 23:13:48 +0000 (16:13 -0700)
Earlier, this was a single -t, and that is overridden by the fact that
stdin is not a tty, so that did nothing.

Signed-off-by: Tommi Virtanen <tv@inktank.com>
doc/install/chef.rst

index 8a505e14c10d3ce6c614025fb7eee5a0f93caa3c..6b137feb9760a41603806aebefe96be16c2ce21e 100644 (file)
@@ -231,7 +231,7 @@ each Chef Node. In a command line shell on the Chef Server, for each node,
 replace ``{nodename}`` in the following line with the node's host name and 
 execute it. ::
 
-       sudo cat /etc/chef/validation.pem | ssh -t -t {nodename} "exec sudo tee /etc/chef/validation.pem >/dev/null"
+       sudo cat /etc/chef/validation.pem | ssh {nodename} "exec sudo tee /etc/chef/validation.pem >/dev/null"
 
 Run ``chef-client`` on each Chef Node
 -------------------------------------