1 [[!meta title="Using a custom Debian mirror to build Tails images"]]
7 You may want to use a Debian mirror different from the one
8 `live-build` uses by default.
12 1. You want to use a mirror that is faster for you, e.g. one that is
13 in the country you live in, or a local Debian mirror.
14 2. You have [[configured squid-deb-proxy|build/squid-deb-proxy]] to
15 only allow access to a given set of domains.
19 You need to set options in live-build's configuration file
20 (`/etc/live/build.conf`), e.g.:
22 LB_MIRROR_BOOTSTRAP="http://ftp.us.debian.org/debian/"
23 LB_MIRROR_BOOTSTRAP_SECURITY="http://security.debian.org/"
25 LB_MIRROR_CHROOT="http://ftp.us.debian.org/debian/"
26 LB_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
28 LB_MIRROR_BINARY="http://ftp.us.debian.org/debian/"
29 LB_MIRROR_BINARY_SECURITY="http://security.debian.org/"
31 See the `lb_config(1)` manpage for details.