#!/bin/bash
for i in `cat ip.list`
do
scp -r $1 root@$i:/tmp
done
pssh -P -l root -h ip.list -t 6000 "cd /tmp/$1; ./update.sh"
