]> piware.de Git - bin.git/commitdiff
update-chroots: copy resolv.conf from host
authormartin@piware.de <>
Tue, 14 Apr 2009 11:00:19 +0000 (13:00 +0200)
committermartin@piware.de <>
Tue, 14 Apr 2009 11:00:19 +0000 (13:00 +0200)
update-chroots

index ab2a668ef4f39b2d73ebe7fb886547130a1bd53d..fc5ce75cb6d87248438a770fff390c11975a6adb 100755 (executable)
@@ -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'