mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-18 20:39:17 +00:00
Merge pull request #29 from programmerq/pssh-command
detect debian command or upstream command
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user