fixed VLAN setup: set the name-type, honor the 'ip' value and use the
[util-vserver.git] / util-vserver / scripts / vserver-build.debootstrap
index bac211e..a58c27c 100644 (file)
@@ -59,6 +59,9 @@ function findDebootstrap
         case "$tmp" in
        (/*)                    ln -s "$tmp" "$dst";;
        (http://*|ftp://*)
+           echo $"\
+Could not find local version of 'debootstrap'; downloading it from
+${tmp}..."
            $_WGET -nv -O "$dst" "$tmp" || {
                $_CAT <<EOF >&2
 ERROR: Could not download the debootstrap package from
@@ -122,7 +125,7 @@ while true; do
     shift
 done
 
-getDistribution
+getDistribution '' 1
 
 initVariables  
 initFilesystem "$OPTION_FORCE"