cdn.debian.net has been deprecated, replace it with http.debian.net
[mirror/dsa-puppet.git] / modules / schroot / files / setup-dchroot
index 3f6179d..998ad41 100755 (executable)
@@ -129,6 +129,7 @@ EOF
                 [ -n "$buildd" ] && genschrootconf "$suite" "$arch" "$target" "security"
             fi
     esac
+    return 0
 }
 
 do_config() {
@@ -149,7 +150,7 @@ arch="$THISARCH"
 if [ -e /etc/schroot/dsa/default-mirror ]; then
     mirror=$(cat /etc/schroot/dsa/default-mirror )
 fi
-mirror="${mirror:-http://cdn.debian.net/debian}"
+mirror="${mirror:-http://http.debian.net/debian}"
 configonly=""
 force=""
 basedir="/srv/chroot"