Skip to content

Instantly share code, notes, and snippets.

@pfmoore
Created April 30, 2014 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfmoore/2a34b3396a95d767205c to your computer and use it in GitHub Desktop.
Save pfmoore/2a34b3396a95d767205c to your computer and use it in GitHub Desktop.
Ubuntu server preseed file
# Default User
d-i passwd/user-fullname string XXXXXXXX
d-i passwd/username string XXXXXXXX
d-i passwd/user-password-crypted password XXXXXXXX
d-i user-setup/encrypt-home boolean false
d-i user-setup/allow-password-weak boolean true
# Time Zone, system clock is UTC
d-i time/zone string Europe/London
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
# Regular partitioning, use the whole disk
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/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
# No proxy
d-i mirror/http/proxy string
# No automatic updates
d-i pkgsel/update-policy select none
# Server and OpenSSH Server packages
tasksel tasksel/first multiselect standard, ubuntu-server, openssh-server
# Install to MBR
d-i grub-installer/only_debian boolean true
# Acknowledge reboot prompt
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