# Download packages from mirrors.mit.edu
d-i mirror/country string enter information manually
d-i mirror/http/countries string manual
d-i mirror/http/hostname string mirrors.mit.edu
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/proxy string 

# Use time.mit.edu for NTP syncing
d-i clock-setup/ntp-server string time.mit.edu

# Guided partitioning with LVM
d-i partman-auto/method string lvm
d-i partman-auto/choose_recipe select atomic
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
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

# Use the linux-virtual kernel
d-i base-installer/kernel/image string linux-virtual

# Configure the Debathena repository
d-i apt-setup/local0/repository string \
       http://debathena.mit.edu/apt lucid debathena debathena-config debathena-system openafs
d-i apt-setup/local0/comment string debathena
d-i apt-setup/local0/source boolean true
d-i apt-setup/local0/key string http://debathena.mit.edu/apt/debathena-archive.asc
d-i pkgsel/include string debathena-standard build-essential openafs-modules-dkms

# Create just a root account
d-i passwd/root-login boolean true
d-i passwd/root-password string fake_value
d-i passwd/root-password-again string fake_value
d-i passwd/make-user boolean false

# Use GRUB 1 so PyGrub can read the menu.lst
d-i grub-installer/grub2_instead_of_grub_legacy boolean false
# Clear the list of boot device so GRUB doesn't actually get installed
# (grub fails to properly install on /dev/xvda)
d-i grub-installer/bootdev string 
d-i grub-installer/only_debian boolean false
d-i grub-installer/with_other_os boolean false

# Remove the root password so users can log in on the console
d-i preseed/late_command string in-target passwd -d root

# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note