terom@0: #### Contents of the preconfiguration file (for squeeze) terom@0: ### Localization terom@0: # Preseeding only locale sets language, country and locale. terom@0: d-i debian-installer/locale string en_US terom@0: terom@0: # The values can also be preseeded individually for greater flexibility. terom@0: #d-i debian-installer/language string en terom@0: #d-i debian-installer/country string NL terom@0: #d-i debian-installer/locale string en_GB.UTF-8 terom@0: # Optionally specify additional locales to be generated. terom@0: #d-i localechooser/supported-locales en_US.UTF-8, nl_NL.UTF-8 terom@0: terom@0: # Keyboard selection. terom@0: #d-i console-tools/archs select at terom@0: d-i console-keymaps-at/keymap select us terom@0: d-i keyboard-configuration/xkb-keymap select us terom@0: # Example for a different keyboard architecture terom@0: #d-i console-keymaps-usb/keymap select mac-usb-us terom@0: terom@0: ### Network configuration terom@0: # Disable network configuration entirely. This is useful for cdrom terom@0: # installations on non-networked devices where the network questions, terom@0: # warning and long timeouts are a nuisance. terom@0: #d-i netcfg/enable boolean false terom@0: terom@0: # netcfg will choose an interface that has link if possible. This makes it terom@0: # skip displaying a list if there is more than one interface. terom@0: d-i netcfg/choose_interface select auto terom@0: terom@0: # To pick a particular interface instead: terom@0: #d-i netcfg/choose_interface select eth1 terom@0: terom@0: # If you have a slow dhcp server and the installer times out waiting for terom@0: # it, this might be useful. terom@0: #d-i netcfg/dhcp_timeout string 60 terom@0: terom@0: # If you prefer to configure the network manually, uncomment this line and terom@0: # the static network configuration below. terom@0: #d-i netcfg/disable_dhcp boolean true terom@0: terom@0: # If you want the preconfiguration file to work on systems both with and terom@0: # without a dhcp server, uncomment these lines and the static network terom@0: # configuration below. terom@0: #d-i netcfg/dhcp_failed note terom@0: #d-i netcfg/dhcp_options select Configure network manually terom@0: terom@0: # Static network configuration. terom@0: #d-i netcfg/get_nameservers string 192.168.1.1 terom@0: #d-i netcfg/get_ipaddress string 192.168.1.42 terom@0: #d-i netcfg/get_netmask string 255.255.255.0 terom@0: #d-i netcfg/get_gateway string 192.168.1.1 terom@0: #d-i netcfg/confirm_static boolean true terom@0: terom@0: # Any hostname and domain names assigned from dhcp take precedence over terom@0: # values set here. However, setting the values still prevents the questions terom@0: # from being shown, even if values come from dhcp. terom@0: d-i netcfg/get_hostname string unassigned-hostname terom@0: d-i netcfg/get_domain string unassigned-domain terom@0: terom@0: # Disable that annoying WEP key dialog. terom@0: d-i netcfg/wireless_wep string terom@0: # The wacky dhcp hostname that some ISPs use as a password of sorts. terom@0: #d-i netcfg/dhcp_hostname string radish terom@0: terom@0: # If non-free firmware is needed for the network or other hardware, you can terom@0: # configure the installer to always try to load it, without prompting. Or terom@0: # change to false to disable asking. terom@0: #d-i hw-detect/load_firmware boolean true terom@0: terom@0: ### Network console terom@0: # Use the following settings if you wish to make use of the network-console terom@0: # component for remote installation over SSH. This only makes sense if you terom@0: # intend to perform the remainder of the installation manually. terom@0: #d-i anna/choose_modules string network-console terom@0: #d-i network-console/password password r00tme terom@0: #d-i network-console/password-again password r00tme terom@0: terom@0: ### Mirror settings terom@0: # If you select ftp, the mirror/country string does not need to be set. terom@0: #d-i mirror/protocol string ftp terom@0: d-i mirror/country string manual terom@0: d-i mirror/http/hostname string http.us.debian.org terom@0: d-i mirror/http/directory string /debian terom@0: d-i mirror/http/proxy string terom@0: terom@0: # Suite to install. terom@0: #d-i mirror/suite string testing terom@0: # Suite to use for loading installer components (optional). terom@0: #d-i mirror/udeb/suite string testing terom@0: terom@0: ### Account setup terom@0: # Skip creation of a root account (normal user account will be able to terom@0: # use sudo). terom@0: #d-i passwd/root-login boolean false terom@0: # Alternatively, to skip creation of a normal user account. terom@0: #d-i passwd/make-user boolean false terom@0: terom@0: # Root password, either in clear text terom@0: #d-i passwd/root-password password r00tme terom@0: #d-i passwd/root-password-again password r00tme terom@0: # or encrypted using an MD5 hash. terom@0: #d-i passwd/root-password-crypted password [MD5 hash] terom@0: terom@0: # To create a normal user account. terom@0: #d-i passwd/user-fullname string Debian User terom@0: #d-i passwd/username string debian terom@0: # Normal user's password, either in clear text terom@0: #d-i passwd/user-password password insecure terom@0: #d-i passwd/user-password-again password insecure terom@0: # or encrypted using an MD5 hash. terom@0: #d-i passwd/user-password-crypted password [MD5 hash] terom@0: # Create the first user with the specified UID instead of the default. terom@0: #d-i passwd/user-uid string 1010 terom@0: terom@0: # The user account will be added to some standard initial groups. To terom@0: # override that, use this. terom@0: #d-i passwd/user-default-groups string audio cdrom video terom@0: terom@0: ### Clock and time zone setup terom@0: # Controls whether or not the hardware clock is set to UTC. terom@0: d-i clock-setup/utc boolean true terom@0: terom@0: # You may set this to any valid setting for $TZ; see the contents of terom@0: # /usr/share/zoneinfo/ for valid values. terom@0: d-i time/zone string US/Eastern terom@0: terom@0: # Controls whether to use NTP to set the clock during the install terom@0: d-i clock-setup/ntp boolean true terom@0: # NTP server to use. The default is almost always fine here. terom@0: #d-i clock-setup/ntp-server string ntp.example.com terom@0: terom@0: ### Partitioning terom@0: ## Partitioning example terom@0: # If the system has free space you can choose to only partition that space. terom@0: # This is only honoured if partman-auto/method (below) is not set. terom@0: #d-i partman-auto/init_automatically_partition select biggest_free terom@0: terom@0: # Alternatively, you may specify a disk to partition. If the system has only terom@0: # one disk the installer will default to using that, but otherwise the device terom@0: # name must be given in traditional, non-devfs format (so e.g. /dev/hda or terom@0: # /dev/sda, and not e.g. /dev/discs/disc0/disc). terom@0: # For example, to use the first SCSI/SATA hard disk: terom@0: #d-i partman-auto/disk string /dev/sda terom@0: # In addition, you'll need to specify the method to use. terom@0: # The presently available methods are: terom@0: # - regular: use the usual partition types for your architecture terom@0: # - lvm: use LVM to partition the disk terom@0: # - crypto: use LVM within an encrypted partition terom@0: d-i partman-auto/method string lvm terom@0: terom@0: # If one of the disks that are going to be automatically partitioned terom@0: # contains an old LVM configuration, the user will normally receive a terom@0: # warning. This can be preseeded away... terom@0: d-i partman-lvm/device_remove_lvm boolean true terom@0: # The same applies to pre-existing software RAID array: terom@0: d-i partman-md/device_remove_md boolean true terom@0: # And the same goes for the confirmation to write the lvm partitions. terom@0: d-i partman-lvm/confirm boolean true terom@0: terom@0: # You can choose one of the three predefined partitioning recipes: terom@0: # - atomic: all files in one partition terom@0: # - home: separate /home partition terom@0: # - multi: separate /home, /usr, /var, and /tmp partitions terom@0: d-i partman-auto/choose_recipe select atomic terom@0: terom@0: # Or provide a recipe of your own... terom@0: # If you have a way to get a recipe file into the d-i environment, you can terom@0: # just point at it. terom@0: #d-i partman-auto/expert_recipe_file string /hd-media/recipe terom@0: terom@0: # If not, you can put an entire recipe into the preconfiguration file in one terom@0: # (logical) line. This example creates a small /boot partition, suitable terom@0: # swap, and uses the rest of the space for the root partition: terom@0: #d-i partman-auto/expert_recipe string \ terom@0: # boot-root :: \ terom@0: # 40 50 100 ext3 \ terom@0: # $primary{ } $bootable{ } \ terom@0: # method{ format } format{ } \ terom@0: # use_filesystem{ } filesystem{ ext3 } \ terom@0: # mountpoint{ /boot } \ terom@0: # . \ terom@0: # 500 10000 1000000000 ext3 \ terom@0: # method{ format } format{ } \ terom@0: # use_filesystem{ } filesystem{ ext3 } \ terom@0: # mountpoint{ / } \ terom@0: # . \ terom@0: # 64 512 300% linux-swap \ terom@0: # method{ swap } format{ } \ terom@0: # . terom@0: terom@0: # The full recipe format is documented in the file partman-auto-recipe.txt terom@0: # included in the 'debian-installer' package or available from D-I source terom@0: # repository. This also documents how to specify settings such as file terom@0: # system labels, volume group names and which physical devices to include terom@0: # in a volume group. terom@0: terom@0: # This makes partman automatically partition without confirmation, provided terom@0: # that you told it what to do using one of the methods above. terom@0: d-i partman-partitioning/confirm_write_new_label boolean true terom@0: d-i partman/choose_partition select finish terom@0: d-i partman/confirm boolean true terom@0: d-i partman/confirm_nooverwrite boolean true terom@0: terom@0: ## Partitioning using RAID terom@0: # The method should be set to "raid". terom@0: #d-i partman-auto/method string raid terom@0: # Specify the disks to be partitioned. They will all get the same layout, terom@0: # so this will only work if the disks are the same size. terom@0: #d-i partman-auto/disk string /dev/sda /dev/sdb terom@0: terom@0: # Next you need to specify the physical partitions that will be used. terom@0: #d-i partman-auto/expert_recipe string \ terom@0: # multiraid :: \ terom@0: # 1000 5000 4000 raid \ terom@0: # $primary{ } method{ raid } \ terom@0: # . \ terom@0: # 64 512 300% raid \ terom@0: # method{ raid } \ terom@0: # . \ terom@0: # 500 10000 1000000000 raid \ terom@0: # method{ raid } \ terom@0: # . terom@0: terom@0: # Last you need to specify how the previously defined partitions will be terom@0: # used in the RAID setup. Remember to use the correct partition numbers terom@0: # for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported; terom@0: # devices are separated using "#". terom@0: # Parameters are: terom@0: # \ terom@0: # terom@0: terom@0: #d-i partman-auto-raid/recipe string \ terom@0: # 1 2 0 ext3 / \ terom@0: # /dev/sda1#/dev/sdb1 \ terom@0: # . \ terom@0: # 1 2 0 swap - \ terom@0: # /dev/sda5#/dev/sdb5 \ terom@0: # . \ terom@0: # 0 2 0 ext3 /home \ terom@0: # /dev/sda6#/dev/sdb6 \ terom@0: # . terom@0: terom@0: # For additional information see the file partman-auto-raid-recipe.txt terom@0: # included in the 'debian-installer' package or available from D-I source terom@0: # repository. terom@0: terom@0: # This makes partman automatically partition without confirmation. terom@0: d-i partman-md/confirm boolean true terom@0: d-i partman-partitioning/confirm_write_new_label boolean true terom@0: d-i partman/choose_partition select finish terom@0: d-i partman/confirm boolean true terom@0: d-i partman/confirm_nooverwrite boolean true terom@0: terom@0: ## Controlling how partitions are mounted terom@0: # The default is to mount by UUID, but you can also choose "traditional" to terom@0: # use traditional device names, or "label" to try filesystem labels before terom@0: # falling back to UUIDs. terom@0: #d-i partman/mount_style select uuid terom@0: terom@0: ### Base system installation terom@0: # Configure APT to not install recommended packages by default. Use of this terom@0: # option can result in an incomplete system and should only be used by very terom@0: # experienced users. terom@0: #d-i base-installer/install-recommends boolean false terom@0: terom@0: # Select the initramfs generator used to generate the initrd for 2.6 kernels. terom@0: #d-i base-installer/kernel/linux/initramfs-generators string initramfs-tools terom@0: terom@0: # The kernel image (meta) package to be installed; "none" can be used if no terom@0: # kernel is to be installed. terom@0: #d-i base-installer/kernel/image string linux-image-2.6-486 terom@0: terom@0: ### Apt setup terom@0: # You can choose to install non-free and contrib software. terom@0: #d-i apt-setup/non-free boolean true terom@0: #d-i apt-setup/contrib boolean true terom@0: # Uncomment this if you don't want to use a network mirror. terom@0: #d-i apt-setup/use_mirror boolean false terom@0: # Select which update services to use; define the mirrors to be used. terom@0: # Values shown below are the normal defaults. terom@0: #d-i apt-setup/services-select multiselect security, volatile terom@0: #d-i apt-setup/security_host string security.debian.org terom@0: #d-i apt-setup/volatile_host string volatile.debian.org terom@0: terom@0: # Additional repositories, local[0-9] available terom@0: #d-i apt-setup/local0/repository string \ terom@0: # http://local.server/debian stable main terom@0: #d-i apt-setup/local0/comment string local server terom@0: # Enable deb-src lines terom@0: #d-i apt-setup/local0/source boolean true terom@0: # URL to the public key of the local repository; you must provide a key or terom@0: # apt will complain about the unauthenticated repository and so the terom@0: # sources.list line will be left commented out terom@0: #d-i apt-setup/local0/key string http://local.server/key terom@0: terom@0: # By default the installer requires that repositories be authenticated terom@0: # using a known gpg key. This setting can be used to disable that terom@0: # authentication. Warning: Insecure, not recommended. terom@0: #d-i debian-installer/allow_unauthenticated boolean true terom@0: terom@0: ### Package selection terom@0: #tasksel tasksel/first multiselect standard, web-server terom@0: # If the desktop task is selected, install the kde and xfce desktops terom@0: # instead of the default gnome desktop. terom@0: #tasksel tasksel/desktop multiselect kde, xfce terom@0: terom@0: # Individual additional packages to install terom@0: #d-i pkgsel/include string openssh-server build-essential terom@0: # Whether to upgrade packages after debootstrap. terom@0: # Allowed values: none, safe-upgrade, full-upgrade terom@0: #d-i pkgsel/upgrade select none terom@0: terom@0: # Some versions of the installer can report back on what software you have terom@0: # installed, and what software you use. The default is not to report back, terom@0: # but sending reports helps the project determine what software is most terom@0: # popular and include it on CDs. terom@0: #popularity-contest popularity-contest/participate boolean false terom@0: terom@0: ### Finishing up the installation terom@0: # During installations from serial console, the regular virtual consoles terom@0: # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next terom@0: # line to prevent this. terom@0: #d-i finish-install/keep-consoles boolean true terom@0: terom@0: # Avoid that last message about the install being complete. terom@0: d-i finish-install/reboot_in_progress note terom@0: terom@0: # This will prevent the installer from ejecting the CD during the reboot, terom@0: # which is useful in some situations. terom@0: #d-i cdrom-detect/eject boolean false terom@0: terom@0: # This is how to make the installer shutdown when finished, but not terom@0: # reboot into the installed system. terom@0: #d-i debian-installer/exit/halt boolean true terom@0: # This will power off the machine instead of just halting it. terom@0: #d-i debian-installer/exit/poweroff boolean true terom@0: terom@0: ### Preseeding other packages terom@0: # Depending on what software you choose to install, or if things go wrong terom@0: # during the installation process, it's possible that other questions may terom@0: # be asked. You can preseed those too, of course. To get a list of every terom@0: # possible question that could be asked during an install, do an terom@0: # installation, and then run these commands: terom@0: # debconf-get-selections --installer > file terom@0: # debconf-get-selections >> file terom@0: terom@0: terom@0: #### Advanced options terom@0: ### Running custom commands during the installation terom@0: # d-i preseeding is inherently not secure. Nothing in the installer checks terom@0: # for attempts at buffer overflows or other exploits of the values of a terom@0: # preconfiguration file like this one. Only use preconfiguration files from terom@0: # trusted locations! To drive that home, and because it's generally useful, terom@0: # here's a way to run any shell command you'd like inside the installer, terom@0: # automatically. terom@0: terom@0: # This first command is run as early as possible, just after terom@0: # preseeding is read. terom@0: #d-i preseed/early_command string anna-install some-udeb terom@0: # This command is run immediately before the partitioner starts. It may be terom@0: # useful to apply dynamic partitioner preseeding that depends on the state terom@0: # of the disks (which may not be visible when preseed/early_command runs). terom@0: #d-i partman/early_command \ terom@0: # string debconf-set partman-auto/disk "$(list-devices disk | head -n1)" terom@0: # This command is run just before the install finishes, but when there is terom@0: # still a usable /target directory. You can chroot to /target and use it terom@0: # directly, or use the apt-install and in-target commands to easily install terom@0: # packages and run commands in the target system. terom@0: #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh terom@0: