# http://www.phys.ethz.ch/~franklin/Projects/dphys3/preseed.cfg - # preseed an Debian/sarge installation, to avoid dialog boxes # author Neil Franklin, last modification 2005.10.21 # copyright ETH Zuerich Physics Departement, # use under either BSD or GPL license #### instead of syslinux.cfg settings preseed them here, less trouble # Ignore questions with a priority less than... d-i debconf/priority select critical # Choose a language: d-i languagechooser/language-name select English # Choose a country, territory or area: d-i countrychooser/shortlist select Switzerland # Type of keyboard: d-i console-tools/archs select PC-style (AT or PS-2 connector) keyboard # Keymap to use: d-i console-keymaps-at/keymap select sg # Load drivers from floppy now? d-i retriever/floppy/loadnow boolean false #### Shell commands. # This command is run just before the install finishes, but when there is # still a usable /target directory. # we deliver our scripts, for later on in base-config/late_command d-i preseed/late_command string /bin/cp -p /end2stage.simple /target # This command is run after base-config is done, just before the login: # prompt. This is a good way to install a set of packages you want, or to # tweak the configuration of the system. # we now run our scripts, to finish setting up the system base-config base-config/late_command string /end2stage.simple #### Network configuration. # netcfg will choose an interface that has link if possible. This makes it # skip displaying a list if there is more than one interface. d-i netcfg/choose_interface select auto # If you prefer to configure the network manually, here's how: #d-i netcfg/disable_dhcp boolean true # Note that any hostname and domain names assigned from dhcp take # precedence over values set here. However, setting the values still # prevents the questions from being shown even if values come from dhcp. d-i netcfg/get_hostname string dummy-hostname d-i netcfg/get_domain string ethz.ch #### Mirror settings. d-i mirror/country string enter information manually d-i mirror/http/hostname string debian.ethz.ch d-i mirror/http/directory string /mirror/debian d-i mirror/suite string testing d-i mirror/http/proxy string ### Partitioning. # Alternatively, you can specify a disk to partition. The device name can # be given in either devfs or traditional non-devfs format. d-i partman-auto/disk string /dev/discs/disc0/disc # If not, you can put an entire recipe in one line. d-i partman-auto/expert_recipe string root-only :: 500 10000 1000000 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . # This makes partman automatically partition without confirmation. d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select Finish partitioning and write changes to disk d-i partman/confirm boolean true #### Boot loader installation. # This is fairly safe to set, it makes grub install automatically to the MBR # if no other operating system is detected on the machine. d-i grub-installer/only_debian boolean true ##### Finishing up the first stage install. # Avoid that last message about the install being complete. d-i prebaseconfig/reboot_in_progress note ##### Preseeding base-config. # Avoid the introductory message. base-config base-config/intro note # Avoid the final message. base-config base-config/login note ###### Time zone setup. # Controls whether or not the hardware clock is set to GMT. base-config tzconfig/gmt boolean true # Area for your time zone: base-config tzconfig/geographic_area select Europe # Country within that area: base-config tzconfig/select_zone/Europe select Zurich ###### Account setup. # To preseed the root password, you have to put it in the clear in this # file. That is not a very good idea, use caution! passwd passwd/root-password password secret passwd passwd/root-password-again password secret # If you want to skip creation of a normal user account. #passwd passwd/make-user boolean true passwd passwd/make-user boolean false ###### Apt setup. # This question controls what source the second stage installation uses # for packages. Choices are cdrom, http, ftp, filesystem, edit sources list # by hand base-config apt-setup/uri_type select http # If you choose ftp or http, you'll be asked for a country and a mirror. base-config apt-setup/country select enter information manually base-config apt-setup/hostname string debian.ethz.ch base-config apt-setup/directory string /mirror/debian # Stop after choosing one mirror. base-config apt-setup/another boolean false # You can choose to install non-free and contrib software. base-config apt-setup/non-free boolean true base-config apt-setup/contrib boolean true # Do enable security updates. base-config apt-setup/security-updates boolean true ###### Package selection. # You can choose to install any combination of tasks that are available. tasksel tasksel/first multiselect ###### Mailer configuration. # During a normal install, exim asks only two questions. Here's how to # avoid even those. More complicated preseeding is possible. exim4-config exim4/dc_eximconfig_configtype select local delivery only; not on a network # It's a good idea to set this to whatever user account you choose to # create. Leaving the value blank results in postmaster mail going to # /var/mail/mail. exim4-config exim4/dc_postmaster string root