source: trunk/debathena/scripts/installer/pxe/natty/debathena/preseed.autoinstall @ 25328

Revision 25328, 10.5 KB checked in by jdreed, 13 years ago (diff)
Stop configuring backports (Trac #935)
Line 
1# Modified from Hardy's example-preseed.txt.
2
3# This is mildly parsed by the install script.
4
5# Locale and keyboard are set by PXELINUX via kernel options.
6
7##############################################################################
8##############################################################################
9# Stuff which looks bogus for custom installs is current split out up here
10# for later separation.
11d-i pkgsel/update-policy select none
12
13### Network configuration
14# netcfg will choose an interface that has link if possible. This makes it
15# skip displaying a list if there is more than one interface.
16d-i netcfg/choose_interface select auto
17
18##############################################################################
19##############################################################################
20
21# Any hostname and domain names assigned from dhcp take precedence over
22# values set here. However, setting the values still prevents the questions
23# from being shown, even if values come from dhcp.
24# d-i netcfg/get_hostname string unassigned-hostname
25# d-i netcfg/get_domain string unassigned-domain
26
27# Disable that annoying WEP key dialog.
28# d-i netcfg/wireless_wep string
29# The wacky dhcp hostname that some ISPs use as a password of sorts.
30# d-i netcfg/dhcp_hostname string radish
31
32### Partitioning
33# Use the whole disk.  Any disk.
34# No, use the first disk (via a shell script that also does sanity checking
35d-i partman/early_command string sh /debathena/check-disks.sh
36# We could also do this to just pick the first disk
37#d-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
38
39# The presently available methods are: "regular", "lvm" and "crypto"
40d-i partman-auto/method string lvm
41
42# Stomp old LVM config.
43d-i partman-auto/purge_lvm_from_device boolean true
44# Don't confirm writing LVM.
45d-i partman-lvm/confirm boolean true
46# ...and for overwriting the same thing from a previous install:
47d-i partman-lvm/device_remove_lvm boolean true
48# ...and for overwriting a completely zeroed disk:
49# This doesn't work when preseeded.  It does work manually.  Yay.
50# LP:154086 covers the basic problem, though not the nonpreseedability.
51# Except now it does work?
52d-i partman-lvm/confirm_nooverwrite boolean true
53
54# You can choose from any of the predefined partitioning recipes.
55# atomic: All files in one partition (recommended for new users)
56# home: Separate /home partition
57# multi: Separate /home, /usr, /var, and /tmp partitions
58# small_disk (alpha architecture only):
59#   Small-disk (< 1GB) partitioning scheme
60# d-i partman-auto/choose_recipe select atomic
61
62# Or provide a recipe of your own...
63# The recipe format is documented in the file devel/partman-auto-recipe.txt.
64# If you have a way to get a recipe file into the d-i environment, you can
65# just point at it.
66d-i partman-auto/expert_recipe_file string /debathena/lvm-cluster-machine.partman
67# This is completely undocumented.  Sigh.
68d-i partman-auto-lvm/new_vg_name string athena
69# As reported in Trac #253
70d-i partman-auto-lvm/guided_size string max
71# Don't punt for no-method filesystems.  Another undocumented option.
72d-i partman-basicmethods/method_only boolean false
73
74# This makes partman automatically partition without confirmation, provided
75# that you told it what to do using one of the methods above.
76d-i partman/confirm_write_new_label boolean true
77d-i partman/choose_partition select finish
78d-i partman/confirm boolean true
79d-i partman/confirm_nooverwrite boolean true
80
81### Base system installation
82# Select the initramfs generator used to generate the initrd for 2.6 kernels.
83#d-i base-installer/kernel/linux/initramfs-generators string yaird
84
85# The kernel image (meta) package to be installed; "none" can be used if no
86# kernel is to be installed.
87d-i base-installer/kernel/image linux-generic
88
89### Account setup
90# No user account; root account with standard password:
91d-i passwd/make-user boolean false
92d-i passwd/root-login boolean true
93d-i passwd/root-password password profroot
94d-i passwd/root-password-again password profroot
95
96# Normal user's password, either in clear text
97#d-i passwd/user-password password insecure
98#d-i passwd/user-password-again password insecure
99# or encrypted using an MD5 hash.
100#d-i passwd/user-password-crypted password [MD5 hash]
101# Create the first user with the specified UID instead of the default.
102#d-i passwd/user-uid string 1010
103
104# The user account will be added to some standard initial groups. To
105# override that, use this.
106#d-i passwd/user-default-groups string audio cdrom video
107
108### Apt setup
109# You can choose to install restricted and universe software, or to install
110# software from the backports repository.
111d-i apt-setup/restricted boolean true
112d-i apt-setup/universe boolean true
113# Stop configuring backports (originally needed for Jaunty on the 755s)
114# d-i apt-setup/backports boolean true
115# Uncomment this if you don't want to use a network mirror.
116#d-i apt-setup/use_mirror boolean false
117# Select which update services to use; define the mirrors to be used.
118# Values shown below are the normal defaults.
119#d-i apt-setup/services-select multiselect security
120#d-i apt-setup/security_host string security.ubuntu.com
121#d-i apt-setup/security_path string /ubuntu
122d-i apt-setup/country string US
123# Actual mirror host now taken care of (semi-secretly) by the installer script.
124# d-i apt-setup/hostname string mirrors.mit.edu
125d-i apt-setup/directory string /ubuntu
126d-i apt-setup/country US
127
128
129# Additional repositories, local[0-9] available
130#d-i apt-setup/local0/repository string \
131#       http://local.server/ubuntu hardy main
132#d-i apt-setup/local0/comment string local server
133# Enable deb-src lines
134#d-i apt-setup/local0/source boolean true
135# URL to the public key of the local repository; you must provide a key or
136# apt will complain about the unauthenticated repository and so the
137# sources.list line will be left commented out
138#d-i apt-setup/local0/key string http://local.server/key
139
140# By default the installer requires that repositories be authenticated
141# using a known gpg key. This setting can be used to disable that
142# authentication. Warning: Insecure, not recommended.
143#d-i debian-installer/allow_unauthenticated string true
144
145### Package selection
146tasksel tasksel/first multiselect standard, ubuntu-desktop
147#tasksel tasksel/first multiselect standard, lamp-server
148#tasksel tasksel/first multiselect standard, kubuntu-desktop
149
150# Individual additional packages to install
151#d-i pkgsel/include string openssh-server build-essential
152
153# Language pack selection
154#d-i pkgsel/language-packs multiselect de, en, zh
155
156# Some versions of the installer can report back on what software you have
157# installed, and what software you use. The default is not to report back,
158# but sending reports helps the project determine what software is most
159# popular and include it on CDs.
160#popularity-contest popularity-contest/participate boolean false
161
162### Boot loader installation
163# Grub is the default boot loader (for x86). If you want lilo installed
164# instead, uncomment this:
165#d-i grub-installer/skip boolean true
166# To also skip installing lilo, and install no bootloader, uncomment this
167# too:
168#d-i lilo-installer/skip boolean true
169
170# This is fairly safe to set, it makes grub install automatically to the MBR
171# if no other operating system is detected on the machine.
172d-i grub-installer/only_debian boolean true
173
174# This one makes grub-installer install to the MBR if it also finds some other
175# OS, which is less safe as it might not be able to boot that other OS.
176d-i grub-installer/with_other_os boolean true
177
178# Alternatively, if you want to install to a location other than the mbr,
179# uncomment and edit these lines:
180#d-i grub-installer/only_debian boolean false
181#d-i grub-installer/with_other_os boolean false
182#d-i grub-installer/bootdev  string (hd0,0)
183# To install grub to multiple disks:
184#d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
185
186# On systems where unauthorized users have access at boot time, you may want
187# to set a GRUB password, either in clear text
188#d-i grub-installer/password password insecure
189#d-i grub-installer/password-again password insecure
190# or encrypted using an MD5 hash.
191#d-i grub-installer/password-crypted password [MD5 hash]
192
193### Finishing up the installation
194# Avoid that last message about the install being complete.
195d-i finish-install/reboot_in_progress note
196
197# This will prevent the installer from ejecting the CD during the reboot,
198# which is useful in some situations.
199#d-i cdrom-detect/eject boolean false
200
201# This is how to make the installer shutdown when finished, but not
202# reboot into the installed system.
203#d-i debian-installer/exit/halt boolean true
204
205### X configuration
206# X can detect the right driver for some cards, but if you're preseeding,
207# you override whatever it chooses. Still, vesa will work most places.
208#xserver-xorg xserver-xorg/config/device/driver select vesa
209
210# A caveat with mouse autodetection is that if it fails, X will retry it
211# over and over. So if it's preseeded to be done, there is a possibility of
212# an infinite loop if the mouse is not autodetected.
213#xserver-xorg xserver-xorg/autodetect_mouse boolean true
214
215# Monitor autodetection is recommended.
216xserver-xorg xserver-xorg/autodetect_monitor boolean true
217# Uncomment if you have an LCD display.
218#xserver-xorg xserver-xorg/config/monitor/lcd boolean true
219# X has three configuration paths for the monitor. Here's how to preseed
220# the "medium" path, which is always available. The "simple" path may not
221# be available, and the "advanced" path asks too many questions.
222xserver-xorg xserver-xorg/config/monitor/selection-method select medium
223xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz
224
225### Preseeding other packages
226# Depending on what software you choose to install, or if things go wrong
227# during the installation process, it's possible that other questions may
228# be asked. You can preseed those too, of course. To get a list of every
229# possible question that could be asked during an install, do an
230# installation, and then run these commands:
231#   debconf-get-selections --installer > file
232#   debconf-get-selections >> file
233
234
235#### Advanced options
236### Running custom commands during the installation
237# d-i preseeding is inherently not secure. Nothing in the installer checks
238# for attempts at buffer overflows or other exploits of the values of a
239# preconfiguration file like this one. Only use preconfiguration files from
240# trusted locations! To drive that home, and because it's generally useful,
241# here's a way to run any shell command you'd like inside the installer,
242# automatically.
243
244# This first command is run as early as possible, just after
245# preseeding is read.
246#d-i preseed/early_command string anna-install some-udeb
Note: See TracBrowser for help on using the repository browser.