| Renuka Apte | 360e29b | 2012-04-09 16:24:53 -0700 | [diff] [blame] | 1 | ### Contents of the preconfiguration file (for squeeze) | 
|  | 2 | ### Localization | 
|  | 3 | # Preseeding only locale sets language, country and locale. | 
|  | 4 | d-i debian-installer/locale string en_US | 
|  | 5 |  | 
|  | 6 | # The values can also be preseeded individually for greater flexibility. | 
|  | 7 | #d-i debian-installer/language string en | 
|  | 8 | #d-i debian-installer/country string NL | 
|  | 9 | #d-i debian-installer/locale string en_GB.UTF-8 | 
|  | 10 | # Optionally specify additional locales to be generated. | 
|  | 11 | #d-i localechooser/supported-locales en_US.UTF-8, nl_NL.UTF-8 | 
|  | 12 |  | 
|  | 13 | # Keyboard selection. | 
|  | 14 | # Disable automatic (interactive) keymap detection. | 
|  | 15 | d-i console-setup/ask_detect boolean false | 
|  | 16 | #d-i keyboard-configuration/modelcode string pc105 | 
|  | 17 | d-i keyboard-configuration/layoutcode string us | 
|  | 18 | # To select a variant of the selected layout (if you leave this out, the | 
|  | 19 | # basic form of the layout will be used): | 
|  | 20 | #d-i keyboard-configuration/variantcode string dvorak | 
|  | 21 |  | 
|  | 22 | ### Network configuration | 
|  | 23 | # Disable network configuration entirely. This is useful for cdrom | 
|  | 24 | # installations on non-networked devices where the network questions, | 
|  | 25 | # warning and long timeouts are a nuisance. | 
|  | 26 | #d-i netcfg/enable boolean false | 
|  | 27 |  | 
|  | 28 | # netcfg will choose an interface that has link if possible. This makes it | 
|  | 29 | # skip displaying a list if there is more than one interface. | 
|  | 30 | d-i netcfg/choose_interface select auto | 
|  | 31 |  | 
|  | 32 | # To pick a particular interface instead: | 
|  | 33 | #d-i netcfg/choose_interface select eth1 | 
|  | 34 |  | 
|  | 35 | # If you have a slow dhcp server and the installer times out waiting for | 
|  | 36 | # it, this might be useful. | 
| Mate Lakat | 53d6fa6 | 2013-09-27 12:30:28 +0100 | [diff] [blame] | 37 | d-i netcfg/dhcp_timeout string 120 | 
| Renuka Apte | 360e29b | 2012-04-09 16:24:53 -0700 | [diff] [blame] | 38 |  | 
|  | 39 | # If you prefer to configure the network manually, uncomment this line and | 
|  | 40 | # the static network configuration below. | 
|  | 41 | #d-i netcfg/disable_autoconfig boolean true | 
|  | 42 |  | 
|  | 43 | # If you want the preconfiguration file to work on systems both with and | 
|  | 44 | # without a dhcp server, uncomment these lines and the static network | 
|  | 45 | # configuration below. | 
|  | 46 | #d-i netcfg/dhcp_failed note | 
|  | 47 | #d-i netcfg/dhcp_options select Configure network manually | 
|  | 48 |  | 
|  | 49 | # Static network configuration. | 
|  | 50 | #d-i netcfg/get_nameservers string 192.168.1.1 | 
|  | 51 | #d-i netcfg/get_ipaddress string 192.168.1.42 | 
|  | 52 | #d-i netcfg/get_netmask string 255.255.255.0 | 
|  | 53 | #d-i netcfg/get_gateway string 192.168.1.1 | 
|  | 54 | #d-i netcfg/confirm_static boolean true | 
|  | 55 |  | 
|  | 56 | # Any hostname and domain names assigned from dhcp take precedence over | 
|  | 57 | # values set here. However, setting the values still prevents the questions | 
|  | 58 | # from being shown, even if values come from dhcp. | 
|  | 59 | d-i netcfg/get_hostname string stack | 
|  | 60 | d-i netcfg/get_domain string stackpass | 
|  | 61 |  | 
|  | 62 | # Disable that annoying WEP key dialog. | 
|  | 63 | d-i netcfg/wireless_wep string | 
|  | 64 | # The wacky dhcp hostname that some ISPs use as a password of sorts. | 
|  | 65 | #d-i netcfg/dhcp_hostname string radish | 
|  | 66 |  | 
|  | 67 | # If non-free firmware is needed for the network or other hardware, you can | 
|  | 68 | # configure the installer to always try to load it, without prompting. Or | 
|  | 69 | # change to false to disable asking. | 
|  | 70 | #d-i hw-detect/load_firmware boolean true | 
|  | 71 |  | 
|  | 72 | ### Network console | 
|  | 73 | # Use the following settings if you wish to make use of the network-console | 
|  | 74 | # component for remote installation over SSH. This only makes sense if you | 
|  | 75 | # intend to perform the remainder of the installation manually. | 
|  | 76 | #d-i anna/choose_modules string network-console | 
|  | 77 | #d-i network-console/password password r00tme | 
|  | 78 | #d-i network-console/password-again password r00tme | 
|  | 79 |  | 
|  | 80 | ### Mirror settings | 
|  | 81 | # If you select ftp, the mirror/country string does not need to be set. | 
|  | 82 | #d-i mirror/protocol string ftp | 
|  | 83 | d-i mirror/country string manual | 
|  | 84 | d-i mirror/http/hostname string archive.ubuntu.com | 
|  | 85 | d-i mirror/http/directory string /ubuntu | 
|  | 86 | d-i mirror/http/proxy string | 
|  | 87 |  | 
|  | 88 | # Alternatively: by default, the installer uses CC.archive.ubuntu.com where | 
|  | 89 | # CC is the ISO-3166-2 code for the selected country. You can preseed this | 
|  | 90 | # so that it does so without asking. | 
|  | 91 | #d-i mirror/http/mirror select CC.archive.ubuntu.com | 
|  | 92 |  | 
|  | 93 | # Suite to install. | 
|  | 94 | #d-i mirror/suite string squeeze | 
|  | 95 | # Suite to use for loading installer components (optional). | 
|  | 96 | #d-i mirror/udeb/suite string squeeze | 
|  | 97 | # Components to use for loading installer components (optional). | 
|  | 98 | #d-i mirror/udeb/components multiselect main, restricted | 
|  | 99 |  | 
|  | 100 | ### Clock and time zone setup | 
|  | 101 | # Controls whether or not the hardware clock is set to UTC. | 
|  | 102 | d-i clock-setup/utc boolean true | 
|  | 103 |  | 
|  | 104 | # You may set this to any valid setting for $TZ; see the contents of | 
|  | 105 | # /usr/share/zoneinfo/ for valid values. | 
|  | 106 | d-i time/zone string US/Pacific | 
|  | 107 |  | 
|  | 108 | # Controls whether to use NTP to set the clock during the install | 
|  | 109 | d-i clock-setup/ntp boolean true | 
|  | 110 | # NTP server to use. The default is almost always fine here. | 
|  | 111 | d-i clock-setup/ntp-server string 0.us.pool.ntp.org | 
|  | 112 |  | 
|  | 113 | ### Partitioning | 
|  | 114 | ## Partitioning example | 
|  | 115 | # If the system has free space you can choose to only partition that space. | 
|  | 116 | # This is only honoured if partman-auto/method (below) is not set. | 
|  | 117 | # Alternatives: custom, some_device, some_device_crypto, some_device_lvm. | 
|  | 118 | #d-i partman-auto/init_automatically_partition select biggest_free | 
|  | 119 |  | 
|  | 120 | # Alternatively, you may specify a disk to partition. If the system has only | 
|  | 121 | # one disk the installer will default to using that, but otherwise the device | 
|  | 122 | # name must be given in traditional, non-devfs format (so e.g. /dev/hda or | 
|  | 123 | # /dev/sda, and not e.g. /dev/discs/disc0/disc). | 
|  | 124 | # For example, to use the first SCSI/SATA hard disk: | 
|  | 125 | #d-i partman-auto/disk string /dev/sda | 
|  | 126 | # In addition, you'll need to specify the method to use. | 
|  | 127 | # The presently available methods are: | 
|  | 128 | # - regular: use the usual partition types for your architecture | 
|  | 129 | # - lvm:     use LVM to partition the disk | 
|  | 130 | # - crypto:  use LVM within an encrypted partition | 
|  | 131 | d-i partman-auto/method string regular | 
|  | 132 |  | 
|  | 133 | # If one of the disks that are going to be automatically partitioned | 
|  | 134 | # contains an old LVM configuration, the user will normally receive a | 
|  | 135 | # warning. This can be preseeded away... | 
|  | 136 | d-i partman-lvm/device_remove_lvm boolean true | 
|  | 137 | # The same applies to pre-existing software RAID array: | 
|  | 138 | d-i partman-md/device_remove_md boolean true | 
|  | 139 | # And the same goes for the confirmation to write the lvm partitions. | 
|  | 140 | d-i partman-lvm/confirm boolean true | 
|  | 141 |  | 
|  | 142 | # For LVM partitioning, you can select how much of the volume group to use | 
|  | 143 | # for logical volumes. | 
|  | 144 | #d-i partman-auto-lvm/guided_size string max | 
|  | 145 | #d-i partman-auto-lvm/guided_size string 10GB | 
|  | 146 | #d-i partman-auto-lvm/guided_size string 50% | 
|  | 147 |  | 
|  | 148 | # You can choose one of the three predefined partitioning recipes: | 
|  | 149 | # - atomic: all files in one partition | 
|  | 150 | # - home:   separate /home partition | 
|  | 151 | # - multi:  separate /home, /usr, /var, and /tmp partitions | 
|  | 152 | d-i partman-auto/choose_recipe select atomic | 
|  | 153 |  | 
|  | 154 | # Or provide a recipe of your own... | 
|  | 155 | # If you have a way to get a recipe file into the d-i environment, you can | 
|  | 156 | # just point at it. | 
|  | 157 | #d-i partman-auto/expert_recipe_file string /hd-media/recipe | 
|  | 158 |  | 
|  | 159 | # If not, you can put an entire recipe into the preconfiguration file in one | 
|  | 160 | # (logical) line. This example creates a small /boot partition, suitable | 
|  | 161 | # swap, and uses the rest of the space for the root partition: | 
|  | 162 | #d-i partman-auto/expert_recipe string                         \ | 
|  | 163 | #      boot-root ::                                            \ | 
|  | 164 | #              40 50 100 ext3                                  \ | 
|  | 165 | #                      $primary{ } $bootable{ }                \ | 
|  | 166 | #                      method{ format } format{ }              \ | 
|  | 167 | #                      use_filesystem{ } filesystem{ ext3 }    \ | 
|  | 168 | #                      mountpoint{ /boot }                     \ | 
|  | 169 | #              .                                               \ | 
|  | 170 | #              500 10000 1000000000 ext3                       \ | 
|  | 171 | #                      method{ format } format{ }              \ | 
|  | 172 | #                      use_filesystem{ } filesystem{ ext3 }    \ | 
|  | 173 | #                      mountpoint{ / }                         \ | 
|  | 174 | #              .                                               \ | 
|  | 175 | #              64 512 300% linux-swap                          \ | 
|  | 176 | #                      method{ swap } format{ }                \ | 
|  | 177 | #              . | 
|  | 178 |  | 
|  | 179 | # If you just want to change the default filesystem from ext3 to something | 
|  | 180 | # else, you can do that without providing a full recipe. | 
|  | 181 | d-i partman/default_filesystem string ext3 | 
|  | 182 |  | 
|  | 183 | # The full recipe format is documented in the file partman-auto-recipe.txt | 
|  | 184 | # included in the 'debian-installer' package or available from D-I source | 
|  | 185 | # repository. This also documents how to specify settings such as file | 
|  | 186 | # system labels, volume group names and which physical devices to include | 
|  | 187 | # in a volume group. | 
|  | 188 |  | 
|  | 189 | # This makes partman automatically partition without confirmation, provided | 
|  | 190 | # that you told it what to do using one of the methods above. | 
|  | 191 | d-i partman-partitioning/confirm_write_new_label boolean true | 
|  | 192 | d-i partman/choose_partition select finish | 
|  | 193 | d-i partman/confirm boolean true | 
|  | 194 | d-i partman/confirm_nooverwrite boolean true | 
|  | 195 |  | 
|  | 196 | ## Partitioning using RAID | 
|  | 197 | # The method should be set to "raid". | 
|  | 198 | #d-i partman-auto/method string raid | 
|  | 199 | # Specify the disks to be partitioned. They will all get the same layout, | 
|  | 200 | # so this will only work if the disks are the same size. | 
|  | 201 | #d-i partman-auto/disk string /dev/sda /dev/sdb | 
|  | 202 |  | 
|  | 203 | # Next you need to specify the physical partitions that will be used. | 
|  | 204 | #d-i partman-auto/expert_recipe string \ | 
|  | 205 | #      multiraid ::                                         \ | 
|  | 206 | #              1000 5000 4000 raid                          \ | 
|  | 207 | #                      $primary{ } method{ raid }           \ | 
|  | 208 | #              .                                            \ | 
|  | 209 | #              64 512 300% raid                             \ | 
|  | 210 | #                      method{ raid }                       \ | 
|  | 211 | #              .                                            \ | 
|  | 212 | #              500 10000 1000000000 raid                    \ | 
|  | 213 | #                      method{ raid }                       \ | 
|  | 214 | #              . | 
|  | 215 |  | 
|  | 216 | # Last you need to specify how the previously defined partitions will be | 
|  | 217 | # used in the RAID setup. Remember to use the correct partition numbers | 
|  | 218 | # for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported; | 
|  | 219 | # devices are separated using "#". | 
|  | 220 | # Parameters are: | 
|  | 221 | # <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \ | 
|  | 222 | #          <devices> <sparedevices> | 
|  | 223 |  | 
|  | 224 | #d-i partman-auto-raid/recipe string \ | 
|  | 225 | #    1 2 0 ext3 /                    \ | 
|  | 226 | #          /dev/sda1#/dev/sdb1       \ | 
|  | 227 | #    .                               \ | 
|  | 228 | #    1 2 0 swap -                    \ | 
|  | 229 | #          /dev/sda5#/dev/sdb5       \ | 
|  | 230 | #    .                               \ | 
|  | 231 | #    0 2 0 ext3 /home                \ | 
|  | 232 | #          /dev/sda6#/dev/sdb6       \ | 
|  | 233 | #    . | 
|  | 234 |  | 
|  | 235 | # For additional information see the file partman-auto-raid-recipe.txt | 
|  | 236 | # included in the 'debian-installer' package or available from D-I source | 
|  | 237 | # repository. | 
|  | 238 |  | 
|  | 239 | # This makes partman automatically partition without confirmation. | 
|  | 240 | d-i partman-md/confirm boolean true | 
|  | 241 | d-i partman-partitioning/confirm_write_new_label boolean true | 
|  | 242 | d-i partman/choose_partition select finish | 
|  | 243 | d-i partman/confirm boolean true | 
|  | 244 | d-i partman/confirm_nooverwrite boolean true | 
|  | 245 |  | 
|  | 246 | ## Controlling how partitions are mounted | 
|  | 247 | # The default is to mount by UUID, but you can also choose "traditional" to | 
|  | 248 | # use traditional device names, or "label" to try filesystem labels before | 
|  | 249 | # falling back to UUIDs. | 
|  | 250 | #d-i partman/mount_style select uuid | 
|  | 251 |  | 
|  | 252 | ### Base system installation | 
|  | 253 | # Configure APT to not install recommended packages by default. Use of this | 
|  | 254 | # option can result in an incomplete system and should only be used by very | 
|  | 255 | # experienced users. | 
|  | 256 | #d-i base-installer/install-recommends boolean false | 
|  | 257 |  | 
|  | 258 | # The kernel image (meta) package to be installed; "none" can be used if no | 
|  | 259 | # kernel is to be installed. | 
| Mate Lakat | 6e207ce | 2013-03-13 09:42:58 +0000 | [diff] [blame] | 260 | d-i base-installer/kernel/image string linux-virtual | 
| Renuka Apte | 360e29b | 2012-04-09 16:24:53 -0700 | [diff] [blame] | 261 |  | 
|  | 262 | ### Account setup | 
|  | 263 | # Skip creation of a root account (normal user account will be able to | 
|  | 264 | # use sudo). The default is false; preseed this to true if you want to set | 
|  | 265 | # a root password. | 
|  | 266 | d-i passwd/root-login boolean true | 
|  | 267 | # Alternatively, to skip creation of a normal user account. | 
|  | 268 | d-i passwd/make-user boolean false | 
|  | 269 |  | 
|  | 270 | # Root password, either in clear text | 
|  | 271 | d-i passwd/root-password password stackpass | 
|  | 272 | d-i passwd/root-password-again password stackpass | 
|  | 273 | # or encrypted using an MD5 hash. | 
|  | 274 | #d-i passwd/root-password-crypted password [MD5 hash] | 
|  | 275 |  | 
|  | 276 | # To create a normal user account. | 
|  | 277 | #d-i passwd/user-fullname string Ubuntu User | 
|  | 278 | #d-i passwd/username string ubuntu | 
|  | 279 | # Normal user's password, either in clear text | 
|  | 280 | #d-i passwd/user-password password insecure | 
|  | 281 | #d-i passwd/user-password-again password insecure | 
|  | 282 | # or encrypted using an MD5 hash. | 
|  | 283 | #d-i passwd/user-password-crypted password [MD5 hash] | 
|  | 284 | # Create the first user with the specified UID instead of the default. | 
|  | 285 | #d-i passwd/user-uid string 1010 | 
|  | 286 | # The installer will warn about weak passwords. If you are sure you know | 
|  | 287 | # what you're doing and want to override it, uncomment this. | 
|  | 288 | d-i user-setup/allow-password-weak boolean true | 
|  | 289 |  | 
|  | 290 | # The user account will be added to some standard initial groups. To | 
|  | 291 | # override that, use this. | 
|  | 292 | #d-i passwd/user-default-groups string audio cdrom video | 
|  | 293 |  | 
|  | 294 | # Set to true if you want to encrypt the first user's home directory. | 
|  | 295 | d-i user-setup/encrypt-home boolean false | 
|  | 296 |  | 
|  | 297 | ### Apt setup | 
|  | 298 | # You can choose to install restricted and universe software, or to install | 
|  | 299 | # software from the backports repository. | 
|  | 300 | #d-i apt-setup/restricted boolean true | 
|  | 301 | #d-i apt-setup/universe boolean true | 
|  | 302 | #d-i apt-setup/backports boolean true | 
|  | 303 | # Uncomment this if you don't want to use a network mirror. | 
|  | 304 | #d-i apt-setup/use_mirror boolean false | 
|  | 305 | # Select which update services to use; define the mirrors to be used. | 
|  | 306 | # Values shown below are the normal defaults. | 
|  | 307 | #d-i apt-setup/services-select multiselect security | 
|  | 308 | #d-i apt-setup/security_host string security.ubuntu.com | 
|  | 309 | #d-i apt-setup/security_path string /ubuntu | 
|  | 310 |  | 
|  | 311 | # Additional repositories, local[0-9] available | 
|  | 312 | #d-i apt-setup/local0/repository string \ | 
|  | 313 | #       http://local.server/ubuntu squeeze main | 
|  | 314 | #d-i apt-setup/local0/comment string local server | 
|  | 315 | # Enable deb-src lines | 
|  | 316 | #d-i apt-setup/local0/source boolean true | 
|  | 317 | # URL to the public key of the local repository; you must provide a key or | 
|  | 318 | # apt will complain about the unauthenticated repository and so the | 
|  | 319 | # sources.list line will be left commented out | 
|  | 320 | #d-i apt-setup/local0/key string http://local.server/key | 
|  | 321 |  | 
|  | 322 | # By default the installer requires that repositories be authenticated | 
|  | 323 | # using a known gpg key. This setting can be used to disable that | 
|  | 324 | # authentication. Warning: Insecure, not recommended. | 
|  | 325 | #d-i debian-installer/allow_unauthenticated boolean true | 
|  | 326 |  | 
|  | 327 | ### Package selection | 
|  | 328 | #tasksel tasksel/first multiselect ubuntu-desktop | 
|  | 329 | #tasksel tasksel/first multiselect lamp-server, print-server | 
|  | 330 | #tasksel tasksel/first multiselect kubuntu-desktop | 
|  | 331 | tasksel tasksel/first multiselect openssh-server | 
|  | 332 |  | 
|  | 333 | # Individual additional packages to install | 
|  | 334 | #d-i pkgsel/include string openssh-server build-essential | 
|  | 335 | # Whether to upgrade packages after debootstrap. | 
|  | 336 | # Allowed values: none, safe-upgrade, full-upgrade | 
|  | 337 | #d-i pkgsel/upgrade select none | 
|  | 338 |  | 
|  | 339 | # Language pack selection | 
|  | 340 | #d-i pkgsel/language-packs multiselect de, en, zh | 
|  | 341 |  | 
|  | 342 | # Policy for applying updates. May be "none" (no automatic updates), | 
|  | 343 | # "unattended-upgrades" (install security updates automatically), or | 
|  | 344 | # "landscape" (manage system with Landscape). | 
|  | 345 | d-i pkgsel/update-policy select unattended-upgrades | 
|  | 346 |  | 
|  | 347 | # Some versions of the installer can report back on what software you have | 
|  | 348 | # installed, and what software you use. The default is not to report back, | 
|  | 349 | # but sending reports helps the project determine what software is most | 
|  | 350 | # popular and include it on CDs. | 
|  | 351 | #popularity-contest popularity-contest/participate boolean false | 
|  | 352 |  | 
|  | 353 | # By default, the system's locate database will be updated after the | 
|  | 354 | # installer has finished installing most packages. This may take a while, so | 
|  | 355 | # if you don't want it, you can set this to "false" to turn it off. | 
|  | 356 | d-i pkgsel/updatedb boolean false | 
|  | 357 |  | 
|  | 358 | ### Boot loader installation | 
|  | 359 | # Grub is the default boot loader (for x86). If you want lilo installed | 
|  | 360 | # instead, uncomment this: | 
|  | 361 | #d-i grub-installer/skip boolean true | 
|  | 362 | # To also skip installing lilo, and install no bootloader, uncomment this | 
|  | 363 | # too: | 
|  | 364 | #d-i lilo-installer/skip boolean true | 
|  | 365 |  | 
|  | 366 | # With a few exceptions for unusual partitioning setups, GRUB 2 is now the | 
|  | 367 | # default. If you need GRUB Legacy for some particular reason, then | 
|  | 368 | # uncomment this: | 
|  | 369 | #d-i grub-installer/grub2_instead_of_grub_legacy boolean false | 
|  | 370 |  | 
|  | 371 | # This is fairly safe to set, it makes grub install automatically to the MBR | 
|  | 372 | # if no other operating system is detected on the machine. | 
|  | 373 | d-i grub-installer/only_debian boolean true | 
|  | 374 |  | 
|  | 375 | # This one makes grub-installer install to the MBR if it also finds some other | 
|  | 376 | # OS, which is less safe as it might not be able to boot that other OS. | 
|  | 377 | d-i grub-installer/with_other_os boolean true | 
|  | 378 |  | 
|  | 379 | # Alternatively, if you want to install to a location other than the mbr, | 
|  | 380 | # uncomment and edit these lines: | 
|  | 381 | #d-i grub-installer/only_debian boolean false | 
|  | 382 | #d-i grub-installer/with_other_os boolean false | 
|  | 383 | #d-i grub-installer/bootdev  string (hd0,0) | 
|  | 384 | # To install grub to multiple disks: | 
|  | 385 | #d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0) | 
|  | 386 |  | 
|  | 387 | # Optional password for grub, either in clear text | 
|  | 388 | #d-i grub-installer/password password r00tme | 
|  | 389 | #d-i grub-installer/password-again password r00tme | 
|  | 390 | # or encrypted using an MD5 hash, see grub-md5-crypt(8). | 
|  | 391 | #d-i grub-installer/password-crypted password [MD5 hash] | 
|  | 392 |  | 
|  | 393 | # Use the following option to add additional boot parameters for the | 
|  | 394 | # installed system (if supported by the bootloader installer). | 
|  | 395 | # Note: options passed to the installer will be added automatically. | 
|  | 396 | #d-i debian-installer/add-kernel-opts string nousb | 
|  | 397 |  | 
|  | 398 | ### Finishing up the installation | 
|  | 399 | # During installations from serial console, the regular virtual consoles | 
|  | 400 | # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next | 
|  | 401 | # line to prevent this. | 
|  | 402 | d-i finish-install/keep-consoles boolean true | 
|  | 403 |  | 
|  | 404 | # Avoid that last message about the install being complete. | 
|  | 405 | d-i finish-install/reboot_in_progress note | 
|  | 406 |  | 
|  | 407 | # This will prevent the installer from ejecting the CD during the reboot, | 
|  | 408 | # which is useful in some situations. | 
|  | 409 | #d-i cdrom-detect/eject boolean false | 
|  | 410 |  | 
|  | 411 | # This is how to make the installer shutdown when finished, but not | 
|  | 412 | # reboot into the installed system. | 
|  | 413 | #d-i debian-installer/exit/halt boolean true | 
|  | 414 | # This will power off the machine instead of just halting it. | 
|  | 415 | #d-i debian-installer/exit/poweroff boolean true | 
|  | 416 |  | 
|  | 417 | ### X configuration | 
|  | 418 | # X can detect the right driver for some cards, but if you're preseeding, | 
|  | 419 | # you override whatever it chooses. Still, vesa will work most places. | 
|  | 420 | #xserver-xorg xserver-xorg/config/device/driver select vesa | 
|  | 421 |  | 
|  | 422 | # A caveat with mouse autodetection is that if it fails, X will retry it | 
|  | 423 | # over and over. So if it's preseeded to be done, there is a possibility of | 
|  | 424 | # an infinite loop if the mouse is not autodetected. | 
|  | 425 | #xserver-xorg xserver-xorg/autodetect_mouse boolean true | 
|  | 426 |  | 
|  | 427 | # Monitor autodetection is recommended. | 
|  | 428 | xserver-xorg xserver-xorg/autodetect_monitor boolean true | 
|  | 429 | # Uncomment if you have an LCD display. | 
|  | 430 | #xserver-xorg xserver-xorg/config/monitor/lcd boolean true | 
|  | 431 | # X has three configuration paths for the monitor. Here's how to preseed | 
|  | 432 | # the "medium" path, which is always available. The "simple" path may not | 
|  | 433 | # be available, and the "advanced" path asks too many questions. | 
|  | 434 | xserver-xorg xserver-xorg/config/monitor/selection-method \ | 
|  | 435 | select medium | 
|  | 436 | xserver-xorg xserver-xorg/config/monitor/mode-list \ | 
|  | 437 | select 1024x768 @ 60 Hz | 
|  | 438 |  | 
|  | 439 | ### Preseeding other packages | 
|  | 440 | # Depending on what software you choose to install, or if things go wrong | 
|  | 441 | # during the installation process, it's possible that other questions may | 
|  | 442 | # be asked. You can preseed those too, of course. To get a list of every | 
|  | 443 | # possible question that could be asked during an install, do an | 
|  | 444 | # installation, and then run these commands: | 
|  | 445 | #   debconf-get-selections --installer > file | 
|  | 446 | #   debconf-get-selections >> file | 
|  | 447 |  | 
|  | 448 |  | 
|  | 449 | #### Advanced options | 
|  | 450 | ### Running custom commands during the installation | 
|  | 451 | # d-i preseeding is inherently not secure. Nothing in the installer checks | 
|  | 452 | # for attempts at buffer overflows or other exploits of the values of a | 
|  | 453 | # preconfiguration file like this one. Only use preconfiguration files from | 
|  | 454 | # trusted locations! To drive that home, and because it's generally useful, | 
|  | 455 | # here's a way to run any shell command you'd like inside the installer, | 
|  | 456 | # automatically. | 
|  | 457 |  | 
|  | 458 | # This first command is run as early as possible, just after | 
|  | 459 | # preseeding is read. | 
|  | 460 | #d-i preseed/early_command string anna-install some-udeb | 
|  | 461 | # This command is run immediately before the partitioner starts. It may be | 
|  | 462 | # useful to apply dynamic partitioner preseeding that depends on the state | 
|  | 463 | # of the disks (which may not be visible when preseed/early_command runs). | 
|  | 464 | #d-i partman/early_command \ | 
|  | 465 | #       string debconf-set partman-auto/disk "$(list-devices disk | head -n1)" | 
|  | 466 | # This command is run just before the install finishes, but when there is | 
|  | 467 | # still a usable /target directory. You can chroot to /target and use it | 
|  | 468 | # directly, or use the apt-install and in-target commands to easily install | 
|  | 469 | # packages and run commands in the target system. | 
|  | 470 | #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh |