From: martin@piware.de <> Date: Tue, 14 Apr 2009 11:00:19 +0000 (+0200) Subject: update-chroots: copy resolv.conf from host X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=7a3efd3b12c2987f07544982efa447a26548ba5e;p=bin.git update-chroots: copy resolv.conf from host --- diff --git a/update-chroots b/update-chroots index ab2a668..fc5ce75 100755 --- a/update-chroots +++ b/update-chroots @@ -1,4 +1,7 @@ #!/bin/sh +for f in /home/dchroot/*/etc/resolv.conf; do + cp /etc/resolv.conf $f; +done dchroot -a -- 'apt-get update' dchroot -a -- 'apt-get -u -y dist-upgrade' dchroot -a -- 'apt-get autoclean'