Skipping tasksel during preseeding

Rus Hughes russell.hughes at gmail.com
Wed Aug 12 17:18:53 BST 2009


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
-------------- next part --------------
apt-mirror-setup	apt-setup/backports	boolean	false
apt-mirror-setup	apt-setup/contrib	boolean	false
apt-mirror-setup	apt-setup/mirror/error	select	Retry
apt-mirror-setup	apt-setup/multiverse	boolean	false
apt-mirror-setup	apt-setup/no_mirror	boolean	false
apt-mirror-setup	apt-setup/non-free	boolean	false
apt-mirror-setup	apt-setup/proposed	boolean	false
apt-mirror-setup	apt-setup/restricted	boolean	false
apt-mirror-setup	apt-setup/universe	boolean	false
apt-mirror-setup	apt-setup/use_mirror	boolean	true

apt-setup-udeb	apt-setup/security_host	string	security.ubuntu.com
apt-setup-udeb	apt-setup/security_path	string	/ubuntu
apt-setup-udeb	apt-setup/service-failed	error	
apt-setup-udeb	apt-setup/services-select	multiselect	security
apt-setup-udeb	apt-setup/volatile_host	string	volatile.debian.org

choose-mirror-bin	mirror/bad	error	
choose-mirror-bin	mirror/codename	string	hardy
choose-mirror-bin	mirror/country	string	GB
choose-mirror-bin	mirror/ftp/directory	string	/ubuntu/
choose-mirror-bin	mirror/ftp/hostname	string	
choose-mirror-bin	mirror/ftp/proxy	string	
choose-mirror-bin	mirror/http/countries	select	GB
choose-mirror-bin	mirror/http/directory	string	/ubuntu/
choose-mirror-bin	mirror/http/hostname	string	gb.archive.ubuntu.com
choose-mirror-bin	mirror/http/mirror	select	gb.archive.ubuntu.com
choose-mirror-bin	mirror/http/proxy	string	
choose-mirror-bin	mirror/noarch	error	
choose-mirror-bin	mirror/protocol	select	http
choose-mirror-bin	mirror/suite	select	hardy

d-i	console-setup/altgr	select	Right Alt
d-i	console-setup/ask_detect	boolean	false
d-i	console-setup/charmap	select	UTF-8
d-i	console-setup/codesetcode	string	Lat15
d-i	console-setup/codeset	select	# Latin1 and Latin5 - western Europe and Turkic languages
d-i	console-setup/compose	select	No compose key
d-i	console-setup/detect	detect-keyboard	
d-i	console-setup/detected	note	
d-i	console-setup/dont_ask_layout	error	
d-i	console-setup/fontface	select	VGA
d-i	console-setup/fontsize-fb	select	16
d-i	console-setup/fontsize	string	16
d-i	console-setup/fontsize-text	select	16
d-i	console-setup/layoutcode	string	gb
d-i	console-setup/layout	select	United Kingdom
d-i	console-setup/modelcode	string	pc105
d-i	console-setup/model	select	Generic 105-key (Intl) PC
d-i	console-setup/optionscode	string	lv3:ralt_switch
d-i	console-setup/switch	select	No temporary switch
d-i	console-setup/toggle	select	No toggling
d-i	console-setup/ttys	string	/dev/tty[1-6]
d-i	console-setup/variantcode	string	
d-i	console-setup/variant	select	United Kingdom

d-i time/zone string Europe/London

d-i	debian-installer/add-kernel-opts	string	
d-i	debian-installer/allow_unauthenticated	boolean	false
d-i	debian-installer/charmap	string	UTF-8
d-i	debian-installer/consoledisplay	string	kbd=lat0-sun16(utf8)
d-i	debian-installer/country	string	GB
d-i	debian-installer/dummy	string	
d-i	debian-installer/exit/always_halt	boolean	false
d-i	debian-installer/exit/halt	boolean	false
d-i	debian-installer/fallbacklocale	select	en_US.UTF-8
d-i	debian-installer/framebuffer	boolean	true
d-i	debian-installer/language	string	en
d-i	debian-installer/locale	select	en_GB.UTF-8
d-i	debian-installer/main-menu/item-failure	error	
d-i	debian-installer/main-menu	select	Finish the installation
d-i	debian-installer/missing-provide	select	${DEFAULT}
d-i	debian-installer/probe/usb	boolean	true
d-i	debian-installer/theme	string	

d-i	localechooser/supported-locales	multiselect	en_GB.UTF-8, en_US.UTF-8

d-i mirror/country string GB
d-i mirror/http/countries select GB
d-i mirror/protocol select http
d-i mirror/http/hostname string gb.archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/suite select hardy
d-i mirror/codename string hardy
d-i mirror/http/proxy string http://someproxy:6666

d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true

d-i finish-install/reboot_in_progress note

d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password-crypted password somepasswordhash

d-i	tasksel/first multiselect 
d-i	tasksel/skip-tasks multiselect standard, server

openssh-server	ssh/new_config	boolean	true
openssh-server	ssh/use_old_init_script	boolean	true
openssh-server	ssh/vulnerable_host_keys	note	
openssh-server	ssh/disable_cr_auth	boolean	false
openssh-server	ssh/encrypted_host_key_but_no_keygen	note	

clock-setup	clock-setup/hwclock-wait	boolean	false
clock-setup	clock-setup/ntp	boolean	true
clock-setup	clock-setup/ntp-server	string	ntp.ubuntu.com
clock-setup	clock-setup/utc-auto	boolean	false
clock-setup	clock-setup/utc	boolean	true

d-i pkgsel/include string puppet
d-i	pkgsel/include string openssh-server
d-i	pkgsel/language-pack-patterns   string
d-i	pkgsel/install-language-support boolean false
d-i	pkgsel/ubuntu-standard boolean false
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default
Type: application/octet-stream
Size: 657 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20090812/8990eccb/attachment-0001.obj 


More information about the Ubuntu-installer mailing list