summaryrefslogtreecommitdiff
path: root/zshfunc/upgrade-porter-chroots
blob: 5c427ed24bb8ae78ec67382ec05c6fc0dbd47b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
## vim:ft=zsh:foldmethod=marker

local i

cd
for i in $DEBPORTERHOSTS; do
	mkdir hosts/chroot-$i 2>/dev/null || continue;
	echo $i;
	preexec $i;
	ssh $i -t 'sudo /usr/sbin/upgrade-porter-chroots'
done