source: trunk/debathena/scripts/installer/pxe/lucid/debathena/preseed.autoinstall @ 25155

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