Allow preseeding $CC.archive.ubuntu.com-style setup

Bug #18225 reported by Ryan Lovett
6
Affects Status Importance Assigned to Milestone
choose-mirror (Ubuntu)
Fix Released
Wishlist
Colin Watson
installation-guide (Ubuntu)
Fix Released
Undecided
Colin Watson

Bug Description

Debian's debian-installer documentation says:
(http://d-i.alioth.debian.org/manual/en.i386/ch04s07.html#automatic-install)
--
Alternatively, one way to get a complete file listing all the values that can be
preseeded is to do a manual install, and then use debconf-get-selections, from
the debconf-utils package, to dump both the debconf database and the cdebconf
database in /var/log/debian-installer/cdebconf to a single file:

  $ debconf-get-selections --installer > file
  $ debconf-get-selections >> file

  However, a file generated in this manner will have some items that should not
be preseeded, and the file in Section C.1[1], “Preconfiguration File Example” is
a better starting place for most users.

[1] http://d-i.alioth.debian.org/manual/en.i386/apcs01.html
--

I tried the method above, but the installer still had trouble completing without
prompting me for debconf questions despite the fact that they were already
answered by the preseed file. (I tried a variety of preseed files) It'd be great
if Ubuntu could provide a starter preseed file which includes, for example,
entries for specifying the country-code based Ubuntu mirror. I've been able to
seed the installation such that when the installer prompts me for a mirror, only
us.archive.ubuntu.com appears in the list, but I have not been able to get the
installer to not ask me.

I did find
ftp://ftp.belnet.be/packages/ubuntu/ubuntu/dists/breezy/main/daily-installer-i386/20050317ubuntu5.0.20050615/doc/manual/example-preseed.txt
but this seems to be a copy of the Debian example as it preseeds exim. (though
"Ubuntu" does appear in here which is probably a mass s/Debian/Ubuntu/g thing.)

Tags: pet-bug
Revision history for this message
Colin Watson (cjwatson) wrote :

http://archive.ubuntu.com/ubuntu/dists/hoary/main/installer-i386/current/doc/manual/en/apcs01.html

It may be out of date, though, and I'm not sure that the country-code mirror
thing is actually preseedable yet. Current preseed/debconf (possibly post-Hoary)
allow you to tweak the seen flag separately.

Revision history for this message
Colin Watson (cjwatson) wrote :

debian-installer (20050317ubuntu16) breezy; urgency=low

  * build/boot/x86/pics/ubuntu-usplash.png,
    build/boot/x86/pics/ubuntu-usplash.rle: Add new Ubuntu splash image
    based on usplash artwork.
  * build/config/x86.cfg: Use ubuntu-usplash.rle by default.

  * Manual changes:
    - appendix/example-preseed.xml: Update to take account of changes to
      various installer components (part of Ubuntu #11944):
      + preseed/locale is now debian-installer/locale (Debian change to
        localechooser).
      + Use kbd-chooser/method instead of console-keymaps-*/keymap (Ubuntu
        change to kbd-chooser).
      + Replace tasksel preseeding with base-config/package-selection
        (various Ubuntu changes).
      + Remove mailer configuration, as Ubuntu doesn't install an MTA by
        default.
    - build/entities/urls.ent, appendix/chroot-install.xml: Change all
      references to ubuntulinux.org to be references to ubuntu.com instead.
    - install-methods/downloading-files.xml: Ubuntu branding.
    - install-methods/boot-usb-files.xml: Turn "netboot/boot.img.gz" into a
      link (thanks, Karl Hegbloom).
    - hardware/hardware-supported.xml: Update architecture count for Ubuntu
      and disable table entries for non-Ubuntu-supported architectures
      (thanks, Michael Moore). Add amd64. Remove Debian-only i386 flavours.

 -- Colin Watson <email address hidden> Wed, 21 Sep 2005 17:33:31 +0100

The rest is a choose-mirror bug, for not allowing the $CC.archive.ubuntu.com
setup to be preseeded.

Colin Watson (cjwatson)
Changed in choose-mirror:
assignee: kamion → nobody
status: Unconfirmed → Confirmed
Colin Watson (cjwatson)
Changed in choose-mirror:
assignee: nobody → kamion
status: Confirmed → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in bzr. The guide will need to be updated for this too.

Changed in choose-mirror:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package choose-mirror - 2.27ubuntu4

---------------
choose-mirror (2.27ubuntu4) jaunty; urgency=low

  * Allow preseeding the default CC.archive.ubuntu.com setup by preseeding
    mirror/http/mirror to CC.archive.ubuntu.com, and likewise for
    mirror/ftp/mirror (LP: #18225).

 -- Colin Watson <email address hidden> Thu, 05 Mar 2009 13:58:55 +0000

Changed in choose-mirror:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package installation-guide - 20081208ubuntu2

---------------
installation-guide (20081208ubuntu2) jaunty; urgency=low

  * Document new scheme for preseeding the use of CC.archive.ubuntu.com
    mirrors (LP: #18225).
  * Bump kernelversion to 2.6.28.

 -- Colin Watson <email address hidden> Thu, 05 Mar 2009 14:38:51 +0000

Changed in installation-guide:
status: New → Fix Released
Colin Watson (cjwatson)
Changed in installation-guide:
assignee: nobody → cjwatson
status: Fix Released → New
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.