Skip to content

Instantly share code, notes, and snippets.

@yunchih
Created July 9, 2016 01:17
Show Gist options
  • Save yunchih/a60c3a8e7930818c8d569d2d891a1e59 to your computer and use it in GitHub Desktop.
Save yunchih/a60c3a8e7930818c8d569d2d891a1e59 to your computer and use it in GitHub Desktop.
#### Contents of the preconfiguration file (for wheezy)
### Localization
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/keymap select us
d-i keymap select us
### Network configuration
d-i netcfg/choose_interface select auto
### Mirror settings
d-i mirror/protocol string http
d-i mirror/country string TW
d-i mirror/http/hostname string ftp.tw.debian.org
d-i mirror/http/directory string /debian
d-i mirror/suite string sid
d-i mirror/http/proxy string
### Account setup
d-i passwd/make-user boolean false
d-i passwd/root-password password password
d-i passwd/root-password-again password password
### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string GMT
d-i clock-setup/ntp boolean true
### Partitioning
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto-lvm/new_vg_name string rootvg
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/mount_style select uuid
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-pc/install_devices multiselect /dev/sda
### Package selection
tasksel tasksel/first multiselect minimal
d-i pkgsel/include string openssh-server
d-i pkgsel/include string build-essential
d-i pkgsel/include string git
d-i pkgsel/upgrade select none
popularity-contest popularity-contest/participate boolean false
### Misc options
# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# Allow non-free firmware
d-i hw-detect/load_firmware boolean true
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment