source: trunk/debathena/scripts/installer/pxe/quantal/debathena/preseed.autoinstall @ 25880

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