| 1 |
joeyh |
21378 |
# d-i preseed file, version 0.1. Copyright 2004 by Joey Hess.
|
| 2 |
|
|
#
|
| 3 |
|
|
# Use with care! This will make d-i install Debian without warnings or
|
| 4 |
|
|
# confirmation.
|
| 5 |
|
|
#
|
| 6 |
|
|
# THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND
|
| 7 |
|
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 8 |
|
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 9 |
|
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
|
| 10 |
|
|
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 11 |
|
|
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
| 12 |
|
|
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 13 |
|
|
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
| 14 |
|
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
| 15 |
|
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
| 16 |
|
|
# SUCH DAMAGE. In other words, if you destroy your computer with this, it's
|
| 17 |
|
|
# your own tough luck.
|
| 18 |
|
|
|
| 19 |
|
|
#### Modifying syslinux.cfg.
|
| 20 |
|
|
|
| 21 |
|
|
# Edit the syslinux.cfg (or similar) file, and add parameters to the end
|
| 22 |
|
|
# of the append line(s) for the kernel.
|
| 23 |
|
|
#
|
| 24 |
|
|
# You'll at least want to add a parameter telling the installer where to
|
| 25 |
|
|
# get its preseed file from.
|
| 26 |
|
|
# If you're installing from USB media, use this, and put the preseed file
|
| 27 |
|
|
# in the toplevel directory of the USB stick.
|
| 28 |
|
|
# preseed/file=/hd-media/preseed
|
| 29 |
|
|
# If you're netbooting, use this instead:
|
| 30 |
|
|
# preseed/url=http://host/path/to/preseed
|
| 31 |
|
|
# If you're remastering a CD, you could use this:
|
| 32 |
|
|
# preseed/file=/cdrom/preseed
|
| 33 |
|
|
# Be sure to copy this file to the location you specify.
|
| 34 |
|
|
#
|
| 35 |
|
|
# While you're at it, you may want to throw a debconf/priority=critical in
|
| 36 |
|
|
# there, to avoid most questions even if the preseeding below misses some.
|
| 37 |
|
|
# And you might set the timeout to 1 in syslinux.cfg to avoid needing to hit
|
| 38 |
|
|
# enter to boot the installer.
|
| 39 |
|
|
#
|
| 40 |
|
|
# Language, country, and keyboard selection cannot be preseeded from a file,
|
| 41 |
|
|
# because the questions are asked before the preseed file can be loaded.
|
| 42 |
|
|
# Instead, to avoid these questions, pass some more parameters to the kernel:
|
| 43 |
|
|
#
|
| 44 |
|
|
# languagechooser/language-name=English
|
| 45 |
fjpop-guest |
22043 |
# countrychooser/shortlist=US
|
| 46 |
joeyh |
21378 |
# console-keymaps-at/keymap=us
|
| 47 |
|
|
#
|
| 48 |
|
|
# Be warned that all bootloaders have a size limit on the size of the
|
| 49 |
|
|
# kernel command line, which can be exceeded by passing a lot of preseed
|
| 50 |
|
|
# values on it. For syslinux, this limit is 256 characters. If you exceed
|
| 51 |
|
|
# this, you can try deleting some other bits of the command line. I remove
|
| 52 |
|
|
# "vga=normal", and "devfs=mount,dall" and the installer will still boot
|
| 53 |
|
|
# ok. We'll probably remove these from the shipped file eventually.
|
| 54 |
|
|
|
| 55 |
joeyh |
21485 |
#### Shell commands.
|
| 56 |
joeyh |
21382 |
|
| 57 |
|
|
# d-i preseeding is inherently not secure. Nothing in the installer checks
|
| 58 |
|
|
# for attempts at buffer overflows or other exploits of the values of a
|
| 59 |
|
|
# preseed file like this one. Only use preseed files from trusted
|
| 60 |
|
|
# locations! To drive that home, and because it's generally useful, here's
|
| 61 |
|
|
# a way to run any shell command you'd like inside the installer,
|
| 62 |
|
|
# automatically.
|
| 63 |
|
|
|
| 64 |
joeyh |
21485 |
# This first command is run as early as possible, just after
|
| 65 |
|
|
# preseeding is read.
|
| 66 |
|
|
#d-i preseed/early_command string wget http://url/to/my.udeb -O /tmp/my.udeb ; udpkg -i /tmp/my.udeb
|
| 67 |
|
|
# This command is run just before the install finishes, but when there is
|
| 68 |
|
|
# still a usable /target directory.
|
| 69 |
joeyh |
21489 |
#d-i preseed/late_command string for deb in /hd-media/*.deb; do cp $deb /target/tmp; chroot /target dpkg -i /tmp/$(basename $deb); done
|
| 70 |
joeyh |
21502 |
# This command is run just as base-config is starting up.
|
| 71 |
|
|
#base-config base-config/early_command string echo hi mom
|
| 72 |
joeyh |
21485 |
# This command is run after base-config is done, just before the login:
|
| 73 |
|
|
# prompt. This is a good way to install a set of packages you want, or to
|
| 74 |
|
|
# tweak the configuration of the system.
|
| 75 |
joeyh |
21502 |
#base-config base-config/late_command string apt-get install zsh; chsh -s /bin/zsh
|
| 76 |
joeyh |
21485 |
|
| 77 |
joeyh |
21378 |
#### Network configuration.
|
| 78 |
|
|
|
| 79 |
|
|
# Of course, this won't work if you're loading your preseed file from the
|
| 80 |
|
|
# network! But it's great if you're booting from CD or USB stick. You can
|
| 81 |
|
|
# also pass network config parameters in on the kernel params if you are
|
| 82 |
|
|
# loading preseed files from the network.
|
| 83 |
|
|
|
| 84 |
joeyh |
21558 |
# Force netcfg to use a specific interface. Normally not needed, since it
|
| 85 |
|
|
# uses whichever interface is connected.
|
| 86 |
|
|
#d-i netcfg/choose_interface select eth0
|
| 87 |
joeyh |
21378 |
|
| 88 |
|
|
# If you prefer to configure the network manually, here's how:
|
| 89 |
|
|
#d-i netcfg/disable_dhcp boolean true
|
| 90 |
|
|
#d-i netcfg/get_nameservers string 192.168.1.1
|
| 91 |
|
|
#d-i netcfg/get_ipaddress string 192.168.1.42
|
| 92 |
|
|
#d-i netcfg/get_netmask string 255.255.255.0
|
| 93 |
|
|
#d-i netcfg/get_gateway string 192.168.1.1
|
| 94 |
|
|
#d-i netcfg/confirm_static boolean true
|
| 95 |
|
|
|
| 96 |
|
|
# Note that any hostname and domain names assigned from dhcp take
|
| 97 |
|
|
# precidence over values set here. However, setting the values still
|
| 98 |
|
|
# prevents the questions from being shown even if values come from dhcp.
|
| 99 |
|
|
d-i netcfg/get_hostname string unassigned-hostname
|
| 100 |
|
|
d-i netcfg/get_domain string unassigned-domain
|
| 101 |
|
|
|
| 102 |
|
|
# Disable that annoying WEP key dialog.
|
| 103 |
|
|
d-i netcfg/wireless_wep string
|
| 104 |
|
|
# The wacky dhcp hostname that some ISPs use as a password of sorts.
|
| 105 |
joeyh |
21442 |
#d-i netcfg/dhcp_hostname string radish
|
| 106 |
joeyh |
21378 |
|
| 107 |
|
|
#### Mirror settings.
|
| 108 |
|
|
|
| 109 |
|
|
d-i mirror/country string enter information manually
|
| 110 |
joeyh |
21442 |
d-i mirror/http/hostname string http.us.debian.org
|
| 111 |
joeyh |
21378 |
d-i mirror/http/directory string /debian
|
| 112 |
joeyh |
21485 |
d-i mirror/suite string testing
|
| 113 |
joeyh |
21500 |
d-i mirror/http/proxy string
|
| 114 |
joeyh |
21378 |
|
| 115 |
|
|
### Partitioning.
|
| 116 |
|
|
|
| 117 |
joeyh |
21442 |
# If the system has free space you can choose to only partition that space.
|
| 118 |
|
|
#d-i partman-auto/init_automatically_partition select Use the largest continuous free space
|
| 119 |
|
|
# Alternatively, you can specify a disk to partition. The device name can
|
| 120 |
|
|
# be given in either devfs or traditional non-devfs format.
|
| 121 |
|
|
# For example, to use the first disk devfs knows of:
|
| 122 |
|
|
d-i partman-auto/disk string /dev/discs/disc0/disc
|
| 123 |
joeyh |
21382 |
|
| 124 |
joeyh |
21442 |
# You can choose from any of the predefined partitioning recipes:
|
| 125 |
joeyh |
21378 |
d-i partman-auto/choose_recipe select All files in one partition (recommended for new users)
|
| 126 |
joeyh |
21382 |
#d-i partman-auto/choose_recipe select Desktop machine
|
| 127 |
|
|
#d-i partman-auto/choose_recipe select Multi-user workstation
|
| 128 |
joeyh |
21442 |
# Or provide a recipe of your own...
|
| 129 |
|
|
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
|
| 130 |
|
|
# If you have a way to get a recipe file into the d-i environment, you can
|
| 131 |
|
|
# just point at it.
|
| 132 |
|
|
#d-i partman-auto/expert_recipe_file string /hd-media/recipe
|
| 133 |
|
|
# If not, you can put an entire recipe in one line. This example creates
|
| 134 |
|
|
# a small /boot partition, suitable swap, and uses the rest of the space
|
| 135 |
|
|
# for the root partition:
|
| 136 |
|
|
#d-i partman-auto/expert_recipe string boot-root :: 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 500 10000 1000000000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 64 512 300% linux-swap method{ swap } format{ } .
|
| 137 |
|
|
# For reference, here is that same recipe in a more readable form:
|
| 138 |
|
|
# boot-root ::
|
| 139 |
|
|
# 40 50 100 ext3
|
| 140 |
|
|
# $primary{ } $bootable{ }
|
| 141 |
|
|
# method{ format } format{ }
|
| 142 |
|
|
# use_filesystem{ } filesystem{ ext3 }
|
| 143 |
|
|
# mountpoint{ /boot }
|
| 144 |
|
|
# .
|
| 145 |
|
|
# 500 10000 1000000000 ext3
|
| 146 |
|
|
# method{ format } format{ }
|
| 147 |
|
|
# use_filesystem{ } filesystem{ ext3 }
|
| 148 |
|
|
# mountpoint{ / }
|
| 149 |
|
|
# .
|
| 150 |
|
|
# 64 512 300% linux-swap
|
| 151 |
|
|
# method{ swap } format{ }
|
| 152 |
|
|
# .
|
| 153 |
joeyh |
21382 |
|
| 154 |
|
|
# This makes partman automatically partition without confirmation.
|
| 155 |
joeyh |
21378 |
d-i partman/choose_partition select Finish partitioning and write changes to disk
|
| 156 |
|
|
d-i partman/confirm boolean true
|
| 157 |
|
|
|
| 158 |
|
|
#### Boot loader installation.
|
| 159 |
|
|
|
| 160 |
joeyh |
21502 |
# Grub is the default boot loader (for x86). If you want lilo installed
|
| 161 |
|
|
# instead, uncomment this:
|
| 162 |
|
|
#d-i grub-installer/skip boolean true
|
| 163 |
|
|
|
| 164 |
joeyh |
21378 |
# This is fairly safe to set, it makes grub install automatically to the MBR
|
| 165 |
|
|
# if no other operating system is detected on the machine.
|
| 166 |
joeyh |
21379 |
d-i grub-installer/only_debian boolean true
|
| 167 |
joeyh |
21378 |
# This one makes grub-installer install to the MBR if if finds some other OS
|
| 168 |
|
|
# too, which is less safe as it might not be able to boot that other OS.
|
| 169 |
|
|
d-i grub-installer/with_other_os boolean true
|
| 170 |
|
|
# Alternatively, if you want to install to a location other than the mbr,
|
| 171 |
|
|
# uncomment and edit these lines:
|
| 172 |
|
|
#d-i grub-installer/bootdev string (hd0,0)
|
| 173 |
|
|
#d-i grub-installer/only-debian boolean false
|
| 174 |
|
|
#d-i grub-installer/with_other_os boolean false
|
| 175 |
|
|
|
| 176 |
joeyh |
21502 |
# TODO how to preseed lilo-installer? Its questions make this difficult.
|
| 177 |
|
|
|
| 178 |
joeyh |
21485 |
##### Finishing up the first stage install.
|
| 179 |
joeyh |
21378 |
|
| 180 |
|
|
# Avoid that last message about the install being complete.
|
| 181 |
joeyh |
21485 |
d-i prebaseconfig/reboot_in_progress note
|
| 182 |
joeyh |
21378 |
|
| 183 |
joeyh |
21485 |
|
| 184 |
|
|
##### Preseeding base-config.
|
| 185 |
joeyh |
21502 |
# XXX: Note that most of this will not work right until base-config 2.40.4
|
| 186 |
|
|
# is available.
|
| 187 |
joeyh |
21485 |
|
| 188 |
|
|
# Avoid the intorductory message.
|
| 189 |
|
|
base-config base-config/intro note
|
| 190 |
|
|
|
| 191 |
|
|
# Avoid the final message.
|
| 192 |
|
|
base-config base-config/login note
|
| 193 |
|
|
|
| 194 |
|
|
# If you installed a display manager, but don't want to start it immediately
|
| 195 |
|
|
# after base-config finishes.
|
| 196 |
|
|
#base-config base-config/start-display-manager boolean false
|
| 197 |
|
|
|
| 198 |
|
|
###### Time zone setup.
|
| 199 |
|
|
|
| 200 |
|
|
# Controls whether or not the hardware clock is set to GMT.
|
| 201 |
joeyh |
21500 |
base-config tzconfig/gmt boolean true
|
| 202 |
joeyh |
21485 |
|
| 203 |
|
|
# If you told the installer that you're in the United States, then you
|
| 204 |
|
|
# can set the time zone using this variable.
|
| 205 |
|
|
# (Choices are: Eastern, Central, Mountain, Pacific, Alaska, Hawaii,
|
| 206 |
|
|
# Aleutian, Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)
|
| 207 |
joeyh |
21500 |
base-config tzconfig/choose_country_zone/US select Eastern
|
| 208 |
joeyh |
21485 |
# If you told it you're in Canada.
|
| 209 |
|
|
# (Choices are: Newfoundland, Atlantic, Eastern, Central,
|
| 210 |
|
|
# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)
|
| 211 |
joeyh |
21500 |
base-config tzconfig/choose_country_zone/CA select Eastern
|
| 212 |
joeyh |
21485 |
# If you told it you're in Brazil. (Choices are: East, West, Acre,
|
| 213 |
|
|
# DeNoronha, other)
|
| 214 |
joeyh |
21500 |
base-config tzconfig/choose_country_zone/BR select East
|
| 215 |
joeyh |
21485 |
# Many countries have only one time zone. If you told the installer you're
|
| 216 |
|
|
# in one of those countries, you can choose its standard time zone via this
|
| 217 |
|
|
# question.
|
| 218 |
joeyh |
21500 |
base-config tzconfig/choose_country_zone_single boolean true
|
| 219 |
joeyh |
21485 |
# This question is asked as a fallback for countries other than those
|
| 220 |
|
|
# listed above, which have more than one time zone. You can preseed one of
|
| 221 |
|
|
# the time zones, or "other".
|
| 222 |
joeyh |
21500 |
#base-config tzconfig/choose_country_zone_multiple select
|
| 223 |
joeyh |
21485 |
|
| 224 |
|
|
###### Account setup.
|
| 225 |
|
|
|
| 226 |
|
|
# To preseed the root password, you have to put it in the clear in this
|
| 227 |
|
|
# file. That is not a very good idea, use caution!
|
| 228 |
|
|
# (XXX: In fact, this won't work, because passwd clears the settings
|
| 229 |
|
|
# before asking for a root password. This may not be fixed before the sarge
|
| 230 |
|
|
# release, if it's fixed at all.)
|
| 231 |
|
|
#passwd passwd/root-password password r00tme
|
| 232 |
|
|
#passwd passwd/root-password-again password r00tme
|
| 233 |
|
|
|
| 234 |
|
|
# If you want to skip creation of a normal user account.
|
| 235 |
|
|
#passwd passwd/make-user boolean false
|
| 236 |
joeyh |
21500 |
# Alternatively, you can preseed the user's name. Note that the username
|
| 237 |
|
|
# will be derived from this; it cannot be overridden currently. The
|
| 238 |
|
|
# username will be the (lowercase) first name of the full name.
|
| 239 |
|
|
#passwd passwd/user-fullname string Debian User
|
| 240 |
joeyh |
21559 |
#passwd passwd/username string
|
| 241 |
joeyh |
21485 |
# And their password, but use caution!
|
| 242 |
|
|
#passwd passwd/user-password password insecure
|
| 243 |
|
|
#passwd passwd/user-password-again password insecure
|
| 244 |
|
|
|
| 245 |
|
|
###### Apt setup.
|
| 246 |
|
|
|
| 247 |
|
|
# This question controls what source the second stage installation uses
|
| 248 |
|
|
# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list
|
| 249 |
|
|
# by hand
|
| 250 |
joeyh |
21500 |
base-config apt-setup/uri_type select http
|
| 251 |
joeyh |
21485 |
|
| 252 |
|
|
# If you choose ftp or http, you'll be asked for a country and a mirror.
|
| 253 |
joeyh |
21500 |
base-config apt-setup/country select enter information manually
|
| 254 |
|
|
base-config apt-setup/hostname string http.us.debian.org
|
| 255 |
|
|
base-config apt-setup/directory string /debian
|
| 256 |
joeyh |
21485 |
# Stop after choosing one mirror.
|
| 257 |
joeyh |
21500 |
base-config apt-setup/another boolean false
|
| 258 |
joeyh |
21485 |
|
| 259 |
|
|
# You can choose to install non-free and contrib software.
|
| 260 |
joeyh |
21500 |
#base-config apt-setup/non-free boolean true
|
| 261 |
|
|
#base-config apt-setup/contrib boolean true
|
| 262 |
joeyh |
21485 |
|
| 263 |
|
|
# Do enable security updates.
|
| 264 |
joeyh |
21500 |
base-config apt-setup/security-updates boolean true
|
| 265 |
joeyh |
21485 |
|
| 266 |
|
|
###### Package selection.
|
| 267 |
|
|
|
| 268 |
|
|
# You can choose to install any combination of tasks that are available.
|
| 269 |
|
|
# Available tasks as of this writing include: Desktop environment,
|
| 270 |
|
|
# Web server, Print server, DNS server, File server, Mail server,
|
| 271 |
|
|
# SQL database, manual package selection. The last of those will run
|
| 272 |
|
|
# aptitude. You can also choose to install no tasks, and force the
|
| 273 |
|
|
# installation of a set of packages in some other way.
|
| 274 |
|
|
# XXX: this will not work until tasksel 2.12 is available
|
| 275 |
|
|
tasksel tasksel/first multiselect Desktop environment
|
| 276 |
|
|
#tasksel tasksel/first multiselect Web server, Mail server, DNS server
|
| 277 |
|
|
|
| 278 |
|
|
###### Mailer configuration.
|
| 279 |
|
|
|
| 280 |
|
|
# During a normal install, exim asks only two questions. Here's how to
|
| 281 |
|
|
# avoid even those. More complicated preseeding is possible.
|
| 282 |
|
|
exim4-config exim4/dc_eximconfig_configtype select no configuration at this time
|
| 283 |
|
|
# It's a good idea to set this to whatever user account you choose to
|
| 284 |
|
|
# create. Leaving the value blank results in postmaster mail going to
|
| 285 |
|
|
# /var/mail/mail.
|
| 286 |
|
|
exim4-config exim4/dc_postmaster string
|
| 287 |
|
|
|
| 288 |
|
|
###### X Configuration.
|
| 289 |
|
|
|
| 290 |
joeyh |
21500 |
# Preseeding Debian's X config is possible, but you probably need to know
|
| 291 |
|
|
# some details about the video hardware of the machine, since Debian's X
|
| 292 |
|
|
# configurator does not do fully automatic configuration of everything.
|
| 293 |
joeyh |
21485 |
|
| 294 |
joeyh |
21500 |
# X can detect the right driver for some cards, but if you're preseeding,
|
| 295 |
|
|
# you override whatever it chooses. Still, vesa will work most places.
|
| 296 |
|
|
#xserver-xfree86 xserver-xfree86/config/device/driver select vesa
|
| 297 |
|
|
|
| 298 |
|
|
# A caveat with mouse autodetection is that if it fails, X will retry it
|
| 299 |
|
|
# over and over. So if it's preseeded to be done, there is a possibility of
|
| 300 |
|
|
# an infinite loop if the mouse is not autodetected.
|
| 301 |
|
|
#xserver-xfree86 xserver-xfree86/autodetect_mouse boolean true
|
| 302 |
|
|
|
| 303 |
|
|
# Monitor autodetection is recommended.
|
| 304 |
|
|
xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true
|
| 305 |
|
|
# Uncomment if you have a LCD display.
|
| 306 |
|
|
#xserver-xfree86 xserver-xfree86/config/monitor/lcd boolean true
|
| 307 |
|
|
# X has three configuration paths for the monitor. Here's how to preseed
|
| 308 |
|
|
# the "medium" path, which is always available. The "simple" path may not
|
| 309 |
|
|
# be available, and the "advanced" path asks too many questions.
|
| 310 |
|
|
xserver-xfree86 xserver-xfree86/config/monitor/selection-method select medium
|
| 311 |
|
|
xserver-xfree86 xserver-xfree86/config/monitor/mode-list select 1024x768 @ 60 Hz
|
| 312 |
|
|
|
| 313 |
joeyh |
21485 |
###### Everything else.
|
| 314 |
|
|
|
| 315 |
|
|
# Depending on what software you choose to install, or if things go wrong
|
| 316 |
|
|
# during the installation process, it's possible that other questions may
|
| 317 |
|
|
# be asked. You can preseed those too, of course. To get a list of every
|
| 318 |
|
|
# possible question that could be asked during an install, do an
|
| 319 |
|
|
# installation, and then run these commands:
|
| 320 |
|
|
# debconf-get-selections --installer > file
|
| 321 |
|
|
# debconf-get-selections >> file
|
| 322 |
joeyh |
21558 |
|
| 323 |
|
|
# If you like, you can include other preseed files into this one.
|
| 324 |
|
|
# Any settings in those files will override pre-existing settings from this
|
| 325 |
|
|
# file. More that one file can be listed, separated by spaces; all will be
|
| 326 |
|
|
# loaded. The included files can have preseed/include directives of their
|
| 327 |
|
|
# own as well. Note that if the filenames are relative, they are taken from
|
| 328 |
|
|
# the same directory as the preseed file that includes them.
|
| 329 |
|
|
#d-i preseed/include string x.cfg
|
| 330 |
joeyh |
21626 |
# More flexably, this runs a shell command and if it outputs the names of
|
| 331 |
|
|
# preseed files, includes those files. For example, to switch configs based
|
| 332 |
|
|
# on a particular usb storage device (in this case, a built-in card reader):
|
| 333 |
fjpop-guest |
22043 |
#d-i preseed/include_command string if $(grep -q "GUID: 0aec3050aec305000001a003" /proc/scsi/usb-storage-*/*); then echo kraken.cfg; else echo otherusb.cfg; fi
|