blob: 59c551c66f8035e2f8e589364db4962a9048a95a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
## vim:ft=zsh:foldmethod=marker
local i
cd
for i in $TORPROJECTHOSTS; do
mkdir hosts/$i 2>/dev/null || continue;
echo $i;
preexec $i;
ssh $i -t '
sudo apt-get update &&
sudo apt-get dist-upgrade &&
sudo apt-get clean &&
if ! grep "^OK" /var/cache/dsa/nagios/apt; then sudo /usr/sbin/dsa-update-apt-status; fi
';
done
|