# Local clock (set to UTC and use ntp)
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.ubuntu.com
d-i time/zone string Etc/UTC
# Enable this if you want to override to a specific kernel, such as
# linux-generic-lts-saucy, but Debian Installer should pick the right one based
# on the boot kernel.
#d-i base-installer/kernel/image string linux-server
# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
d-i debian-installer/allow_unauthenticated string false
# Lang
d-i pkgsel/language-packs multiselect en
d-i pkgsel/update-policy select none
d-i pkgsel/updatedb boolean true
Preseed file taken from MAAS "View preseed" UI:
# MAAS - Ubuntu Server Installation
# * Minimal install
# * Cloud-init for bare-metal
# * Cloud-init preseed data
# Locale installer/ locale string en_US.UTF-8
d-i debian-
# No splash installer/ splash boolean false
d-i debian-
# Keyboard layout setup/ask_ detect boolean false setup/layoutcod e string us setup/variantco de string
d-i console-
d-i console-
d-i console-
# Network configuration get_nameservers string get_ipaddress string confirm_ static boolean true
d-i netcfg/
d-i netcfg/
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string
d-i netcfg/
# Local clock (set to UTC and use ntp) ntp-server string ntp.ubuntu.com
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/
d-i time/zone string Etc/UTC
# Partitioning early_command string debconf-set partman-auto/disk `list-devices disk | head -n1` iscsi/mainmenu string finish lvm/device_ remove_ lvm boolean true md/device_ remove_ md boolean true confirm_ write_new_ label boolean true choose_ partition select Finish partitioning and write changes to disk confirm_ nooverwrite boolean true default_ filesystem string ext4
d-i partman/
d-i partman-
d-i partman-auto/method string regular
d-i partman-
d-i partman-lvm/confirm boolean true
d-i partman-
d-i partman/
d-i partman/
d-i partman/confirm boolean true
d-i partman/
d-i partman/
# Enable this if you want to override to a specific kernel, such as lts-saucy, but Debian Installer should pick the right one based kernel/ image string linux-server
# linux-generic-
# on the boot kernel.
#d-i base-installer/
# User Setup user-fullname string ubuntu user-password- crypted password ! allow-password- weak boolean false encrypt- home boolean false user-default- groups string adm cdrom dialout lpadmin plugdev sambashare
d-i passwd/root-login boolean false
d-i passwd/make-user boolean true
d-i passwd/
d-i passwd/username string ubuntu
d-i passwd/
d-i passwd/user-uid string
d-i user-setup/
d-i user-setup/
d-i passwd/
# APT http/hostname string za.archive. ubuntu. com http/directory string /ubuntu maas-ip: 8000/
d-i mirror/country string manual
d-i mirror/
d-i mirror/
d-i mirror/http/proxy string http://
# By default the installer requires that repositories be authenticated installer/ allow_unauthent icated string false
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
d-i debian-
# Lang language- packs multiselect en update- policy select none
d-i pkgsel/
d-i pkgsel/
d-i pkgsel/updatedb boolean true
# Boot-loader only_debian boolean true with_other_ os boolean true install/ keep-consoles boolean false install/ reboot_ in_progress note
d-i grub-installer/skip boolean false
d-i lilo-installer/skip boolean false
d-i grub-installer/
d-i grub-installer/
d-i finish-
d-i finish-
# Eject cdrom
d-i cdrom-detect/eject boolean true
# Do not halt/poweroff after install installer/ exit/halt boolean false installer/ exit/poweroff boolean false
d-i debian-
d-i debian-
# maas client packages software- properties vim avahi-daemon server^
d-i pkgsel/include string cloud-init openssh-server python-
# maas preseed datasources multiselect MAAS maas-metadata- url string http:// maas-ip/ MAAS/metadata/ maas-metadata- credentials string oauth_token_ key=OAUTH_ TOKEN&oauth_ token_secret= OAUTH_TOKEN_ SECRET& oauth_consumer_ key=OAUTH_ CONSUMER_ TOKEN local-cloud- config string {apt_preserve_ sources_ list: true, manage_etc_hosts: localhost}\n
cloud-init cloud-init/
cloud-init cloud-init/
cloud-init cloud-init/
cloud-init cloud-init/
# Post scripts. late_command string true && \ maas-ip/ MAAS/metadata/ latest/ by-id/node- NODE-ID/" --post-data "op=netboot_off" -O /dev/null && \
# Executes late command and disables PXE.
d-i preseed/
in-target sh -c 'f=$1; shift; echo $0 > $f && chmod 0440 $f $*' 'ubuntu ALL=(ALL) NOPASSWD: ALL' /etc/sudoers.d/maas && \
in-target wget --no-proxy "http://
true