apt-get in postinstallation in kickstart

Colin Watson cjwatson at ubuntu.com
Sun Jul 10 05:09:24 CDT 2005


On Sat, Jul 09, 2005 at 05:37:49PM +0100, tuxico wrote:
> thanks you for your quick answer !
> I made this mistake because I readed 
> http://lists.ubuntu.com/archives/ubuntu-devel/2005-April/006830.html
> and I thought that only ubuntu-desktop was possible to install in
> %packages.

That's package *groups*, but you can use any individual package names
you like.

> By the way, do you know how to add others repositories of packages
> (like universe) during the kickstart installation ? (to install
> packages like ncftp during the installation, for example)

The simplest way is to use the images at
http://people.ubuntu.com/~cjwatson/hoary-installer-update/netboot/,
which allow you to put the following line in your Kickstart file:

  preseed --owner base-config apt-setup/universe boolean true

It's possible with the standard Hoary images, but considerably more
awkward.

Cheers,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the ubuntu-devel mailing list