make it easier to use a custom mirror

ubuntu/precise
Colin Watson 14 years ago
parent 2403a1d29c
commit 15e23d2de5

@ -1,7 +1,7 @@
#! /bin/sh
set -e
MIRROR=
if [ -z "$MIRROR" ]; then
case $(hostname --fqdn) in
bld-*.mmjgroup.com) ;;
*.mmjgroup.com)
@ -14,8 +14,8 @@ case $(hostname --fqdn) in
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
*.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
*) ;;
esac
fi
mkdir -p config/chroot_local-tasklists config/chroot_local-packagelists
rm -f config/chroot_local-tasklists/livecd-rootfs.list config/chroot_local-packagelists/livecd-rootfs.list

Loading…
Cancel
Save