Skip to content

Instantly share code, notes, and snippets.

@booch booch/preseed.txt
Last active Dec 28, 2015

Embed
What would you like to do?
Debian 7 preseed file for minimal install.
#### Debian Installer preseed file for Debian 7.2 (Wheezy) minimal install.
# Allow installer to ask questions interactively - for now.
d-i preseed/interactive boolean true
d-i debconf/frontend string newt
# Set localization (language, country, and locale).
d-i debian-installer/locale string en_US
d-i localechooser/preferred-locale select en_US.UTF-8
# Keyboard mapping.
d-i keyboard-configuration/xkb-keymap select us
# Choose a NIC that has link if possible; skip listing NICs if there is more than one.
d-i netcfg/choose_interface select auto
# Set hostname and domain name. (We'll override these later.)
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string
# Time zone.
d-i time/zone string UTC
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
# Mirror settings for packages.
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
# Users and passwords.
d-i passwd/root-password password vagrant
d-i passwd/root-password-again password vagrant
d-i passwd/user-fullname string Vagrant User
d-i passwd/username string vagrant
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i passwd/user-default-groups string admin audio cdrom video
# Partitioning (might want to use regular instead of lvm).
d-i partman-auto/method string lvm
d-i partman-auto/choose_recipe select multi
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/choose_partition select finish
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
# Packages to install.
tasksel tasksel/first multiselect ssh-server
d-i pkgsel/include string sudo ntp
d-i pkgsel/upgrade select full-upgrade
# Bootloader.
d-i grub-installer/only_debian boolean true
grub-installer grub-installer/only_debian boolean true
d-i finish-install/reboot_in_progress note
# Package updates.
d-i pkgsel/update-policy select none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.