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

Revision 25185, 10.4 KB checked in by jdreed, 13 years ago (diff)
* Installer now checks for sufficient disk space (Trac: #224) * Pick the first disk, bypassing a prompt if there's more than one disk in the machine (say, a flash drive was left plugged in)
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
113d-i apt-setup/backports boolean true
114# Uncomment this if you don't want to use a network mirror.
115#d-i apt-setup/use_mirror boolean false
116# Select which update services to use; define the mirrors to be used.
117# Values shown below are the normal defaults.
118#d-i apt-setup/services-select multiselect security
119#d-i apt-setup/security_host string security.ubuntu.com
120#d-i apt-setup/security_path string /ubuntu
121d-i apt-setup/country string US
122# Actual mirror host now taken care of (semi-secretly) by the installer script.
123# d-i apt-setup/hostname string mirrors.mit.edu
124d-i apt-setup/directory string /ubuntu
125d-i apt-setup/country US
126
127
128# Additional repositories, local[0-9] available
129#d-i apt-setup/local0/repository string \
130#       http://local.server/ubuntu hardy main
131#d-i apt-setup/local0/comment string local server
132# Enable deb-src lines
133#d-i apt-setup/local0/source boolean true
134# URL to the public key of the local repository; you must provide a key or
135# apt will complain about the unauthenticated repository and so the
136# sources.list line will be left commented out
137#d-i apt-setup/local0/key string http://local.server/key
138
139# By default the installer requires that repositories be authenticated
140# using a known gpg key. This setting can be used to disable that
141# authentication. Warning: Insecure, not recommended.
142#d-i debian-installer/allow_unauthenticated string true
143
144### Package selection
145tasksel tasksel/first multiselect standard, ubuntu-desktop
146#tasksel tasksel/first multiselect standard, lamp-server
147#tasksel tasksel/first multiselect standard, kubuntu-desktop
148
149# Individual additional packages to install
150#d-i pkgsel/include string openssh-server build-essential
151
152# Language pack selection
153#d-i pkgsel/language-packs multiselect de, en, zh
154
155# Some versions of the installer can report back on what software you have
156# installed, and what software you use. The default is not to report back,
157# but sending reports helps the project determine what software is most
158# popular and include it on CDs.
159#popularity-contest popularity-contest/participate boolean false
160
161### Boot loader installation
162# Grub is the default boot loader (for x86). If you want lilo installed
163# instead, uncomment this:
164#d-i grub-installer/skip boolean true
165# To also skip installing lilo, and install no bootloader, uncomment this
166# too:
167#d-i lilo-installer/skip boolean true
168
169# This is fairly safe to set, it makes grub install automatically to the MBR
170# if no other operating system is detected on the machine.
171d-i grub-installer/only_debian boolean true
172
173# This one makes grub-installer install to the MBR if it also finds some other
174# OS, which is less safe as it might not be able to boot that other OS.
175d-i grub-installer/with_other_os boolean true
176
177# Alternatively, if you want to install to a location other than the mbr,
178# uncomment and edit these lines:
179#d-i grub-installer/only_debian boolean false
180#d-i grub-installer/with_other_os boolean false
181#d-i grub-installer/bootdev  string (hd0,0)
182# To install grub to multiple disks:
183#d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
184
185# On systems where unauthorized users have access at boot time, you may want
186# to set a GRUB password, either in clear text
187#d-i grub-installer/password password insecure
188#d-i grub-installer/password-again password insecure
189# or encrypted using an MD5 hash.
190#d-i grub-installer/password-crypted password [MD5 hash]
191
192### Finishing up the installation
193# Avoid that last message about the install being complete.
194d-i finish-install/reboot_in_progress note
195
196# This will prevent the installer from ejecting the CD during the reboot,
197# which is useful in some situations.
198#d-i cdrom-detect/eject boolean false
199
200# This is how to make the installer shutdown when finished, but not
201# reboot into the installed system.
202#d-i debian-installer/exit/halt boolean true
203
204### X configuration
205# X can detect the right driver for some cards, but if you're preseeding,
206# you override whatever it chooses. Still, vesa will work most places.
207#xserver-xorg xserver-xorg/config/device/driver select vesa
208
209# A caveat with mouse autodetection is that if it fails, X will retry it
210# over and over. So if it's preseeded to be done, there is a possibility of
211# an infinite loop if the mouse is not autodetected.
212#xserver-xorg xserver-xorg/autodetect_mouse boolean true
213
214# Monitor autodetection is recommended.
215xserver-xorg xserver-xorg/autodetect_monitor boolean true
216# Uncomment if you have an LCD display.
217#xserver-xorg xserver-xorg/config/monitor/lcd boolean true
218# X has three configuration paths for the monitor. Here's how to preseed
219# the "medium" path, which is always available. The "simple" path may not
220# be available, and the "advanced" path asks too many questions.
221xserver-xorg xserver-xorg/config/monitor/selection-method select medium
222xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz
223
224### Preseeding other packages
225# Depending on what software you choose to install, or if things go wrong
226# during the installation process, it's possible that other questions may
227# be asked. You can preseed those too, of course. To get a list of every
228# possible question that could be asked during an install, do an
229# installation, and then run these commands:
230#   debconf-get-selections --installer > file
231#   debconf-get-selections >> file
232
233
234#### Advanced options
235### Running custom commands during the installation
236# d-i preseeding is inherently not secure. Nothing in the installer checks
237# for attempts at buffer overflows or other exploits of the values of a
238# preconfiguration file like this one. Only use preconfiguration files from
239# trusted locations! To drive that home, and because it's generally useful,
240# here's a way to run any shell command you'd like inside the installer,
241# automatically.
242
243# This first command is run as early as possible, just after
244# preseeding is read.
245#d-i preseed/early_command string anna-install some-udeb
Note: See TracBrowser for help on using the repository browser.