From 7a3efd3b12c2987f07544982efa447a26548ba5e Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Tue, 14 Apr 2009 13:00:19 +0200 Subject: [PATCH] update-chroots: copy resolv.conf from host --- update-chroots | 3 +++ 1 file changed, 3 insertions(+) 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' -- 2.39.2