Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# Enable extras.ubuntu.com.
d-i apt-setup/extras boolean true
# Locale sets language and country.
d-i debian-installer/locale string en_US
# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string integrilink
#d-i netcfg/get_domain string local
# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
# Network configuration
d-i netcfg/choose_interface select auto
# Clock and time zone setup
d-i clock-setup/ntp boolean true
d-i time/zone string Etc/UTC
### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true
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/default_filesystem string ext4
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
# Trying to keep Proxy screen from coming up.
d-i mirror/http/proxy string
### Packages
d-i tasksel/first multiselect
d-i tasksel/skip-tasks multiselect standard, server
### Account setup
# To create a normal user account.
d-i passwd/user-fullname string Ubuntu
d-i passwd/username string ubuntu
# Normal user's password, either in clear text
#d-i passwd/user-password password 3xampleP@assw0rd
#d-i passwd/user-password-again password 3xampleP@assw0rd
# To generate a new MD5 Hash do the following
#echo "r00tme" | mkpasswd -s -H MD5
d-i passwd/user-password-crypted password $1$41UmtLUN$gvzYZDm9mRNQLOnZAPZj11
# The installer will warn about weak passwords. If you are sure you know
# what you're doing and want to override it, uncomment this.
d-i user-setup/allow-password-weak boolean true
# Set to true if you want to encrypt the first user's home directory.
d-i user-setup/encrypt-home boolean false
d-i pkgsel/include string openssh-server build-essential avahi-daemon vim
d-i grub-installer/only_debian 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