# Local and keyboard
lang en_US
langsupport en_US
keyboard us
timezone America/New_York
preseed debian-installer/locale select "en_US.UTF-8"
preseed keyboard-configuration/layout select "English (US)"
preseed keyboard-configuration/layoutcode string us
preseed keyboard-configuration/variant select "English (US)"
preseed localechooser/supported-locales multiselect "en_US.UTF-8"
preseed localechooser/preferred-locale select "en_US.UTF-8"
preseed localechooser/shortlist select US
# Networking
preseed netcfg/dhcp_timeout string 60
preseed netcfg/get_hostname seen true
preseed netcfg/get_domain seen true
preseed netcfg/disable_dhcp boolean false
preseed netcfg/dhcp_failed note
#Ubuntu Mirror
preseed mirror/country string manual
preseed mirror/http/hostname string us.archive.ubuntu.com
preseed mirror/http/directory string /ubuntu
preseed mirror/http/proxy string http://10.1.10.1:3142
preseed apt-setup/security_host string us.archive.ubuntu.com
preseed apt-setup/security_path string /ubuntu-security
#Clock
preseed clock-setup/utc boolean true
preseed time/zone string US/Eastern
preseed clock-setup/ntp boolean true
preseed clock-setup/ntp-server string 0.us.pool.ntp.org
#Security Updates
preseed apt-setup/services-select multiselect security
preseed apt-setup/security_host string security.ubuntu.com
preseed apt-setup/security_path string /ubuntu
# User
user ubuntu --fullname "ubuntu" --password ubuntu
preseed user-setup/allow-password-weak boolean true
# Disk partitioning information
preseed partman-auto/disk string /dev/sda
preseed partman-auto/method string regular
preseed partman-lvm/device_remove_lvm boolean true
preseed partman-md/device_remove_md boolean true
preseed partman-lvm/confirm boolean true
preseed partman-lvm/confirm_nooverwrite boolean true
preseed partman-auto/choose_recipe select unencrypted-install
preseed partman-auto/expert_recipe string "unencrypted-install :: 1024 1024 1024 ext4 $primary{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /data } . 1024 1024 1024 ext4 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /boot } . 2048 2048 2048 linux-swap $primary{ } method{ swap } format{ } . 17408 100000000000 -1 ext4 $primary{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ / } ."
preseed partman-md/confirm boolean true
preseed partman-partitioning/confirm_write_new_label boolean true
preseed partman/choose_partition select finish
preseed partman/confirm boolean true
preseed partman/confirm_nooverwrite boolean true
#
preseed popularity-contest popularity-contest/participate boolean false
# Base package selection
preseed taskel tasksel/first multiselect standard
preseed pkgsel/update-policy select none
# Finish
preseed debian-installer/exit/poweroff boolean true
preseed finish-install/reboot_in_progress note
#Packages to install
%packages
openssh-server
build-essential
curl
%post