Check IP before submission
This commit is contained in:
parent
188931f0d4
commit
9038f49904
3 changed files with 70 additions and 19 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
cd $(dirname "$0")
|
||||
|
||||
WKS_LIST="apl"
|
||||
SRV_LIST="moore noyce hamano cpp"
|
||||
|
||||
ACTIONS="start stop restart update"
|
||||
|
@ -43,6 +44,16 @@ do
|
|||
echo
|
||||
done
|
||||
|
||||
for WKS in $WKS_LIST
|
||||
do
|
||||
echo -e "\e[1;34m>>>\e[0m $ACTION on $WKS"
|
||||
if [ "$ACTION" == "update" ]
|
||||
then
|
||||
ssh root@$SRV "make -C liblerdorf update upgrade"
|
||||
fi
|
||||
echo
|
||||
done
|
||||
|
||||
cat "$LOG"
|
||||
|
||||
exit $FAIL
|
||||
exit $FAIL
|
||||
|
|
Reference in a new issue