Merge pull request #29 from programmerq/pssh-command

detect debian command or upstream command
This commit is contained in:
Jérôme Petazzoni
2016-08-07 15:26:29 +02:00
committed by GitHub

View File

@@ -11,8 +11,9 @@ pssh () {
}
echo "[parallel-ssh] $@"
export PSSH=$(which pssh || which parallel-ssh)
parallel-ssh -h $HOSTFILE -l ubuntu \
$PSSH -h $HOSTFILE -l ubuntu \
--par 100 \
-O LogLevel=ERROR \
-O UserKnownHostsFile=/dev/null \