# 'priority=high' is the default. (https://www.debian.org/releases/stable/i386/ch05s03.html.en). # If possible, netcfg will choose interfaces which have links. This makes it # skip displaying a list if there is more than one interface. The first # connected network interface will be selected and used. d-i netcfg/choose_interface select auto # This sets the hostname. d-i netcfg/hostname string whatever # The hostname and domain name questions will still be presented unless # we have the following two lines. The domain name cannot be preseeded. d-i netcfg/get_domain string example.com d-i netcfg/get_hostname string good # Use ifupdown irrespective of whether a DE (which would bring in # network manager) is installed or whether the connection is wired or # wireless. d-i netcfg/target_network_config select ifupdown d-i passwd/user-fullname string Brian Potkin d-i passwd/username string brian d-i passwd/root-password password whatever d-i passwd/root-password-again password whatever d-i passwd/user-password password whatever d-i passwd/user-password-again password whatever # Comment out if the intention is to set up a swap partition . d-i partman-basicfilesystems/no_swap boolean false # Write the parition changes to disk without asking. d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true # The archive on the USB stick will be used as a mirror. d-i apt-setup/use_mirror boolean false # Continue without a network mirror. d-i apt-setup/no_mirror boolean true # Needs an internet connection. d-i apt-setup/services-select security # Do not choose and install any tasks. tasksel tasksel/first multiselect # Do not Participate in the package usage survey. popularity-contest popularity-contest/participate boolean false # Install GRUB to the master boot record (MBR). d-i grub-installer/with_other_os boolean true d-i grub-installer/only_debian boolean true # Device for boot loader installation. d-i grub-installer/choose_bootdev select manual d-i grub-installer/bootdev string /dev/sda # Confirm the system clock is (or will be) set to UTC. d-i clock-setup/utc boolean true # Set up sources.list and install a few packages. Optional: it can be # done after first boot of the OS. d-i preseed/late_command string \ mkdir /target/media/ARCHIVE; \ mount --bind /hd-media /target/media/ARCHIVE; \ sed -i 's/^/#/' /target/etc/apt/sources.list; \ echo "deb [ trusted=yes ] file:/media/ARCHIVE/debian jessie main contrib" >> /target/etc/apt/sources.list; \ in-target apt-get update; \ in-target apt-get -y install mc gpm vim bash-completion;