blob: b288b5396e54558e064649da9c405c3400e7cd57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
## vim:ft=zsh:foldmethod=marker
upgrade-debian-hosts() {
cd
for i in $DEBHOSTS; 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
';
done
}
|