]> piware.de Git - bin.git/blob - update-chroots
d006845abb17ce93fc4b106cd75512798801585f
[bin.git] / update-chroots
1 #!/bin/sh
2 for f in /home/dchroot/*/etc/resolv.conf; do
3     cp /etc/resolv.conf $f;
4 done
5 dchroot -a -- 'apt-get update'
6 dchroot -a -- 'apt-get -u -y dist-upgrade'
7 dchroot -a -- 'apt-get clean'