Fixed executable name for pssh on ubuntu

This commit is contained in:
ENIX NOC
2023-05-09 15:28:37 +00:00
parent 8376aba5fd
commit f937456232

View File

@@ -17,7 +17,7 @@ pssh() {
echo "[parallel-ssh] $@"
$(which pssh) -h $HOSTFILE -l ubuntu \
$(which pssh || which parallel-ssh) -h $HOSTFILE -l ubuntu \
--par ${PSSH_PARALLEL_CONNECTIONS-100} \
--timeout 300 \
-O LogLevel=ERROR \