You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
385 B

#!/usr/bin/env bash
DESC="Ping entre tous les couples de machines."
run() {
PAUSE=1
. $VDN_PATH/bin/functions-scripts.sh
setErrorHandler
echoStart
requireSshGuests $SYSTEMS
for i in $SYSTEMS; do
for j in $SYSTEMS; do
echo "$i : ping $j"
vdn-ssh -t root@$i "ping -c 1 $j" || exit 1
done
done
unsetErrorHandler
echoDone
pauseRaw
}