thiell/test — Issue #111: clush: add option to prevent reading from stdin (like ssh -n)
Author: thiell
Created: 2012-03-03 16:33:41+00:00
State: open
Labels: Scripts

Add an option to explicitely disallow binding of stdin in order to allow the use of clush in scripts like:

{{{
cat /etc/oddjobd.conf | while read line
do
echo "LINE: $line"
clush -w fortoy3 do_something
done
}}}

ssh offers option''' -n''' to do that (redirects stdin from /dev/null)