#### Contents of the preconfiguration file (for sid) # ### Localization d-i debian-installer/language string en d-i debian-installer/country string NL d-i debian-installer/locale string en_US.UTF-8 d-i keyboard-configuration/xkb-keymap select us #d-i debian-installer/keymap select us #d-i keymap select us #d-i keyboard-configuration/variant select English (US) #d-i console-keymaps-at/keymap select us ### Network configuration d-i netcfg/choose_interface select auto d-i netcfg/get_hostname string localhost d-i netcfg/get_domain string unassigned-domain d-i netcfg/hostname string localhost # Allow non-free firmware d-i hw-detect/load_firmware boolean true # Disable that annoying WEP key dialog. d-i netcfg/wireless_wep string ### Mirror settings d-i mirror/protocol string http #d-i mirror/country string NL d-i mirror/country string manual #d-i mirror/http/hostname string ftp.debian.nl #d-i mirror/http/directory string /debian d-i mirror/http/hostname string ftp.nluug.nl d-i mirror/http/directory string /pub/os/Linux/distr/debian #d-i mirror/suite string sid d-i mirror/suite string unstable d-i mirror/http/proxy string ### Account setup d-i passwd/root-login boolean true d-i passwd/root-password password password d-i passwd/root-password-again password password d-i passwd/make-user boolean false #d-i passwd/user-fullname string #d-i passwd/username string user #d-i passwd/user-password password password #d-i passwd/user-password-again password password ### Clock and time zone setup # Controls whether or not the hardware clock is set to UTC. d-i clock-setup/utc boolean true # You may set this to any valid setting for $TZ; see the contents of # /usr/share/zoneinfo/ for valid values. d-i time/zone string Europe/Amsterdam # Controls whether to use NTP to set the clock during the install d-i clock-setup/ntp boolean true # NTP server to use. The default is almost always fine here. #d-i clock-setup/ntp-server string ntp.example.com d-i clock-setup/ntp-server string 0.nl.pool.ntp.org ### Partitioning # # Debian default # Remove existing logical volume data? d-i partman-lvm/device_remove_lvm boolean true # Unable to automatically remove LVM data d-i partman-lvm/device_remove_lvm_span boolean true # Dummy template for preseeding unavailable questions d-i partman-auto/purge_lvm_from_device boolean true # Remove existing software RAID partitions? d-i partman-md/device_remove_md boolean true d-i partman-auto/disk string /dev/vda d-i partman-auto/method string regular d-i partman-auto/choose_recipe select unencrypted-install d-i partman-auto/expert_recipe string \ boot-root :: \ 300 300 300 ext4 \ $primary{ } $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /boot } \ label{ BOOT } \ . \ 100 100000000000 -1 ext4 \ $primary{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ / } \ label{ ROOT } \ . d-i partman/mount_style select uuid # Install grub in the first device (assuming it is not a USB stick) d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true #d-i grub-installer/bootdev string default d-i grub-installer/bootdev string /dev/vda # Continue installation without /boot partition? #d-i partman-auto-lvm/no_boot boolean true # Write the changes to disks and configure LVM? d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm_nooverwrite boolean true # Write the changes to disks? d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true d-i partman-basicfilesystems/no_swap boolean false d-i partman-basicfilesystems/no_mount_point yes d-i partman-partitioning/confirm_write_new_label boolean true # Finish partitioning and write changes to disk d-i partman/choose_partition select finish ### Apt setup d-i apt-setup/non-free boolean true d-i apt-setup/contrib boolean true #d-i apt-setup/restricted boolean true #d-i apt-setup/universe boolean true #d-i apt-setup/backports boolean true #d-i apt-setup/proposed boolean true d-i apt-setup/services-select multiselect security, updates, backports d-i apt-setup/security_host string security.debian.org ### Package selection #tasksel tasksel/first multiselect minimal tasksel tasksel/first multiselect standard d-i pkgsel/include string ssh ssh-askpass openssh-server vim-nox mlocate acpi software-properties-common mosh screen tmux sudo xauth xterm psmisc rsync curl ntp ntpdate aptitude dialog parted qemu-guest-agent exim4- exim4-base- exim4-config- exim4-daemon-light- #d-i pkgsel/include string build-essential #d-i pkgsel/include string git d-i pkgsel/upgrade select none #d-i pkgsel/upgrade select safe-upgrade popularity-contest popularity-contest/participate boolean false # Avoid that last message about the install being complete. d-i finish-install/reboot_in_progress note ### Misc options # # This command is run just before the install finishes, d-i preseed/late_command string \ in-target /bin/bash -c "echo localhost > /etc/hostname" ; \ in-target /bin/bash -c "mkdir /root/bin" ; \ in-target /bin/bash -c "chown root:root /root/bin" ; \ in-target /bin/bash -c "chmod 0700 /root/bin" ; \ in-target /bin/bash -c "wget -O /root/bin/firstboot http://mirror.spaceserver.nl/debian/preseed/firstboot" ; \ in-target /bin/bash -c "chmod +x /root/bin/firstboot" ; \ in-target /bin/bash -c "wget -O /tmp/post-install.sh http://mirror.spaceserver.nl/debian/preseed/post-install.sh" ; \ in-target /bin/bash -c "chmod +x /tmp/post-install.sh" ; \ in-target /bin/sh "/tmp/post-install.sh"