Skip to content

Instantly share code, notes, and snippets.

@double-z
Created March 18, 2019 01:53
Show Gist options
  • Save double-z/90eb724d8fd01a968123aaba031f8bdb to your computer and use it in GitHub Desktop.
Save double-z/90eb724d8fd01a968123aaba031f8bdb to your computer and use it in GitHub Desktop.
preseed
# Verbose output and no boot splash screen.
d-i debian-installer/quiet boolean false
d-i debian-installer/splash boolean false
# Disable that annoying WEP key dialog.
# boot param d-i netcfg/do_not_use_netplan=true
d-i netcfg/wireless_wep string
# Network configuration
d-i netcfg/choose_interface select auto
#choose-mirror-bin mirror/http/proxy string
d-i base-installer/kernel/override-image string linux-server
#d-i base-installer/install-recommends boolean false
# If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or
# change to false to disable asking.
d-i hw-detect/load-firmware boolean false
### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i time/zone string US/Eastern
### Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i debconf/priority select critical
# d-i auto-install/enabled boolean true
# Account setup
d-i passwd/root-login boolean false
d-i passwd/make-user boolean true
d-i passwd/user-fullname string ubuntu
d-i passwd/username string ubuntu
d-i passwd/user-password password ubuntu
d-i passwd/user-password-again password ubuntu
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
# Apt setup
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i apt-setup/multiverse boolean true
d-i apt-setup/backports boolean true
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/security-updates boolean true
d-i apt-setup/partner boolean true
### Package selection
# tasksel tasksel/first multiselect
# tasksel/skip-tasks multiselect server
#d-i pkgsel/ubuntu-standard boolean false
d-i pkgsel/ignore-incomplete-language-support boolean true
d-i pkgsel/install-language-support boolean false
d-i pkgsel/language-pack-patterns string
d-i pkgsel/language-packs multiselect
d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string regular
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
# Partitioning
d-i partman-basicfilesystems/no_swap boolean true
d-i partman/default_filesystem string ext4
# This makes partman automatically partition without confirmation
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 pkgsel/upgrade select none
d-i pkgsel/update-policy select none
popularity-contest popularity-contest/participate boolean false
d-i pkgsel/updatedb boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/timeout string 2
d-i grub-installer/with_other_os boolean true
d-i debian-installer/add-kernel-opts string nomodeset \
intel_idle.max_cstate=0 processor.max_cstate=1 \
biosdevname=0 net.ifnames=0 \
pci=nocrs intremap=nosid i915.modeset=0 \
libata.force=noncq pcie_aspm=force \
acpi_backlight=vendor acpi_osi=Darwin ipv6.disable=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment