diff --git a/live-build/auto/config b/live-build/auto/config index 447ceb8a..9f8fd659 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -12,7 +12,12 @@ if [ -z "$MIRROR" ]; then *) MIRROR=http://archive.mmjgroup.com/ubuntu-ports/ ;; esac ;; - *.0c3.net) MIRROR=http://ftp.iinet.net.au/linux/ubuntu/ ;; + *.0c3.net) + case $ARCH in + i386|amd64) MIRROR=http://mirrors.0c3.net/ubuntu/ ;; + *) MIRROR=http://mirrors.0c3.net/ubuntu-ports/ ;; + esac + ;; *.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;; *.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;; *.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ ;; diff --git a/livecd.sh b/livecd.sh index 28dd4c3c..711bf28f 100755 --- a/livecd.sh +++ b/livecd.sh @@ -164,7 +164,12 @@ select_mirror () { case $(hostname --fqdn) in bld-*.mmjgroup.com) MIRROR=${USERMIRROR};; *.mmjgroup.com) MIRROR=http://archive.mmjgroup.com/${USERMIRROR##*/};; - *.0c3.net) MIRROR=http://ftp.iinet.net.au/linux/ubuntu;; + *.0c3.net) + case $ARCH in + i386|amd64) MIRROR=http://mirrors.0c3.net/ubuntu/ ;; + *) MIRROR=http://mirrors.0c3.net/ubuntu-ports/ ;; + esac + ;; *.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu;; *.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu;; *.buildd) MIRROR=http://ftpmaster.internal/ubuntu;;