Skip to content

Instantly share code, notes, and snippets.

@ChatchaiJ
Created November 7, 2017 10:40
Show Gist options
  • Save ChatchaiJ/0d43f6cfcfa1fbbf1e6d78518c310b4f to your computer and use it in GitHub Desktop.
Save ChatchaiJ/0d43f6cfcfa1fbbf1e6d78518c310b4f to your computer and use it in GitHub Desktop.
Debian Preseed
d-i debian-installer/locale string en_US.UTF-8
d-i keyboard-configuration/xkb-keymap select us
# first ethernet interface for VirtualBox PC is enp0s3 #
d-i netcfg/choose_interface select enp0s3
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string example.com
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean false
d-i mirror/country string manual
d-i mirror/http/hostname string ftp.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i mirror/suite string stretch
# d-i passwd/root-login boolean false
## This is virtual machine on development pc
## So, password security is not needed that much
d-i passwd/root-password password root
d-i passwd/root-password-again password root
## Default normal user
d-i passwd/user-fullname string Chatchai J
d-i passwd/username string cj
d-i passwd/user-password-crypted password !
d-i clock-setup/utc boolean true
d-i time/zone string Asia/Bangkok
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string pool.ntp.org
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
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 apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/security_host string security.debian.org
d-i pkgsel/include string openssh-server
d-i pkgsel/upgrade select full-upgrade
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string /dev/sda
d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true
d-i cdrom-detect/eject boolean true
d-i preseed/late_command string apt-install tmux htop etckeeper vim tcpdump tshark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment