Skipping tasksel during preseeding
Rus Hughes
russell.hughes at gmail.com
Thu Aug 13 10:45:10 BST 2009
Thanks for the reply!
I stripped out all the config I'd tried to do previously for tasksel
(the stuff on the append line amd the d-i tasksel entries in the
preseed.txt), and tested the installer, and it reverted to manual, as
it should (and still installed minimal/standard as it's a default ..)!
I then made the changes you suggested to the append line and it still
automatically installed ubuntu-minimal and ubuntu-standard.
I changed my pxelinux.cfg/default to:
LABEL jeos_preseed
kernel jeos-hardy/ubuntu-installer/i386/linux
append vga=normal
initrd=jeos-hardy/ubuntu-installer/i386/initrd.gz
tasksel:tasksel/first="" locale=en_GB console-setup/layoutcode=gb
netcfg/choose_interface=eth0 netcfg/get_hostname=ubuntu
preseed/url=http://a.b.c.d/preseed.txt --
and removed all tasksel entries from the preseed file:
user at server:/var/www# grep tasksel preseed.txt
#d-i tasksel/first multiselect
#d-i tasksel/skip-tasks multiselect standard, server
I'm thinking maybe I have to get my hands dirty and make my own
initrd.gz which doesn't call tasksel?
On Wed, Aug 12, 2009 at 5:27 PM, Carl Karsten<carl at personnelware.com> wrote:
> I think this may help:
>
> label ubuntu-jaunty-i386-handsoff
> kernel ubuntu/jaunty/i386/linux
> append initrd=ubuntu/jaunty/i386/initrd.gz root=/dev/rd/0 rw
> locale=en_US console-setup/layoutcode=us netcfg/wireless_wep=
> netcfg/choose_interface=eth0 netcfg/get_hostname= DEBCONF_DEBUG=5
> url=http://shaz/ubuntu/jaunty/preseed.cfg tasksel:tasksel/first="" --
> vga=6
>
> root at shaz:/var/www # grep tasksel ubuntu/jaunty/preseed.cfg
> #tasksel tasksel/first multiselect ubuntu-standard, ubuntu-desktop
>
>
> On Wed, Aug 12, 2009 at 11:18 AM, Rus Hughes<russell.hughes at gmail.com> wrote:
>> Hi,
>>
>> We want to pxeboot/preseed a number of servers in to very light JEOS
>> servers, i.e. we don't want the ubuntu-standard package installed, but
>> no matter what I try ubuntu-standard always gets installed. I'm
>> assuming it's being installed by default by tasksel as it's a new
>> install. We've tried overriding the tasks in the pxelinux.cfg/default
>> file
>>
>> LABEL jeos_preseed
>> kernel jeos-hardy/ubuntu-installer/i386/linux
>> append vga=normal
>> initrd=jeos-hardy/ubuntu-installer/i386/initrd.gz tasksel/tasks=""
>> locale=en_GB console-setup/layoutcode=gb netcfg/choose_interface=eth0
>> netcfg/get_hostname=ubuntu preseed/url=http://a.b.c.d/preseed.txt --
>>
>> and in our preseed.txt
>>
>> d-i tasksel/first multiselect
>> d-i tasksel/skip-tasks multiselect standard, server
>> d-i pkgsel/ubuntu-standard boolean false
>>
>> yet it still gets installed.
>>
>> Does anyone know how to stop tasksel from running and/or stop
>> ubuntu-standard from being installed when we try to preseed?
>>
>> Thanks,
>>
>> Rus
>>
>> --
>> Ubuntu-installer mailing list
>> Ubuntu-installer at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer
>>
>>
>
>
>
> --
> Carl K
>
> --
> Ubuntu-installer mailing list
> Ubuntu-installer at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer
>
More information about the Ubuntu-installer
mailing list