From: Sage Weil Date: Tue, 25 Sep 2012 17:14:50 +0000 (-0700) Subject: update_all_pbuilders.sh: update pbuilder images on all deb_hosts X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc55b72cf5cf64b26eb4e0078d7bce53cbd21527;p=ceph-build.git update_all_pbuilders.sh: update pbuilder images on all deb_hosts --- diff --git a/update_all_pbuilders.sh b/update_all_pbuilders.sh new file mode 100755 index 000000000..61d998964 --- /dev/null +++ b/update_all_pbuilders.sh @@ -0,0 +1,22 @@ +#!/bin/sh -x + +set -e + +bindir=`dirname $0` + +pids="" +for rem in `cat $bindir/deb_hosts` +do + echo rem $rem + ssh $rem sudo rm -rf /tmp/ceph-build.\* \; sudo mkdir -p /srv/debian-base + ssh $rem git clone git://github.com/ceph/ceph-build /tmp/ceph-build.$$ + ssh $rem sudo /tmp/ceph-build.$$/update_pbuilder.sh /srv/debian-base + pids="$pids $!" +done + +echo pids $pids +for p in $pids +do + wait $p +done +