[clug] Debian - mirror selection in preseed.cfg not working?
Adam Baxter
voltagex at voltagex.org
Sun Aug 7 06:20:47 MDT 2011
Hi all,
Anyone done automated Debian installs?
I've been learning how to preseed a PXE booted installer, I'm having
trouble overriding the mirror selection
I have the following in my preseed.cfg
d-i mirror/country string manual
d-i mirror/http/hostname string 10.2.0.1
d-i mirror/http/directory string /debian
base-config apt-setup/hostname string 10.2.0.1
base-config apt-setup/directory string /debian
base-config apt-setup/uri_type select http
base-config apt-setup/country select enter
information manually
base-config apt-setup/another boolean false
base-config apt-setup/security-updates boolean true
I believe the mirror selection is being overridden by my locale - en_AU
Aug 6 09:59:56 debconf: --> GET mirror/http/countries
Aug 6 09:59:56 debconf: <-- 0 AU
Aug 6 09:59:56 debconf: --> SET mirror/country AU
Aug 6 09:59:56 debconf: <-- 0 value set
Aug 6 09:59:56 debconf: --> GO
Aug 6 09:59:56 debconf: <-- 0 ok
Aug 6 09:59:56 debconf: --> GET mirror/country
Aug 6 09:59:56 debconf: <-- 0 AU
Aug 6 09:59:56 debconf: --> SUBST mirror/http/mirror mirrors
ftp.au.debian.org, mirror.waia.asn.au, cdn.debian.net,
mirror.aarnet.edu.au, ftp.monash.edu.au, ftp.uwa.edu.au,
mirror.eftel.com, mirror.pacific.net.au, ftp.iinet.net.au,
mirror.optus.net,
Aug 6 09:59:56 debconf: Adding [mirrors] -> [ftp.au.debian.org,
mirror.waia.asn.au, cdn.debian.net, mirror.aarnet.edu.au,
ftp.monash.edu.au, ftp.uwa.edu.au, mirror.eftel.com,
mirror.pacific.net.au, ftp.iinet.net.au, mirror.optus.net,
mirror.cse.unsw.
Aug 6 09:59:56 debconf: <-- 0
Aug 6 09:59:56 debconf: --> INPUT high mirror/http/mirror
Aug 6 09:59:56 debconf: <-- 30 question skipped
Aug 6 09:59:56 debconf: --> GO
Aug 6 09:59:56 debconf: <-- 0 ok
Aug 6 09:59:56 debconf: --> GET mirror/http/mirror
Aug 6 09:59:56 debconf: <-- 0 ftp.au.debian.org
Aug 6 09:59:56 debconf: --> SET mirror/http/hostname ftp.au.debian.org
Aug 6 09:59:56 debconf: <-- 0 value set
Am I missing something?
Thanks,
Adam Baxter
More information about the linux
mailing list