1
# MAAS - Ubuntu Server Installation
3
# * Cloud-init for bare-metal
4
# * maas_preseed snippet is expanded to provide cloud-init preseed data
7
d-i debian-installer/locale string en_US.UTF-8
10
d-i debian-installer/splash boolean false
13
d-i console-setup/ask_detect boolean false
14
d-i console-setup/layoutcode string us
15
d-i console-setup/variantcode string
17
# Network configuration
18
d-i netcfg/get_nameservers string
19
d-i netcfg/get_ipaddress string
20
d-i netcfg/get_netmask string 255.255.255.0
21
d-i netcfg/get_gateway string
22
d-i netcfg/confirm_static boolean true
24
# Local clock (set to UTC and use ntp)
25
d-i clock-setup/utc boolean true
26
d-i clock-setup/ntp boolean true
27
d-i clock-setup/ntp-server string ntp.ubuntu.com
30
d-i partman/early_command string debconf-set partman-auto/disk `list-devices disk | head -n1`
31
d-i partman-iscsi/mainmenu string finish
32
d-i partman-auto/method string regular
33
d-i partman-lvm/device_remove_lvm boolean true
34
d-i partman-lvm/confirm boolean true
35
d-i partman/confirm_write_new_label boolean true
36
d-i partman/choose_partition select Finish partitioning and write changes to disk
37
d-i partman/confirm boolean true
38
d-i partman/confirm_nooverwrite boolean true
39
d-i partman/default_filesystem string ext4
42
d-i base-installer/kernel/image string linux-server
45
d-i passwd/root-login boolean false
46
d-i passwd/make-user boolean true
47
d-i passwd/user-fullname string ubuntu
48
d-i passwd/username string ubuntu
49
d-i passwd/user-password-crypted password !
50
d-i passwd/user-uid string
51
d-i user-setup/allow-password-weak boolean false
52
d-i user-setup/encrypt-home boolean false
53
d-i passwd/user-default-groups string adm cdrom dialout lpadmin plugdev sambashare
56
$SNIPPET('maas_proxy')
58
# By default the installer requires that repositories be authenticated
59
# using a known gpg key. This setting can be used to disable that
60
# authentication. Warning: Insecure, not recommended.
61
d-i debian-installer/allow_unauthenticated string false
64
d-i pkgsel/language-packs multiselect en
65
d-i pkgsel/update-policy select none
66
d-i pkgsel/updatedb boolean true
69
d-i grub-installer/skip boolean false
70
d-i lilo-installer/skip boolean false
71
d-i grub-installer/only_debian boolean true
72
d-i grub-installer/with_other_os boolean true
73
d-i finish-install/keep-consoles boolean false
74
d-i finish-install/reboot_in_progress note
77
d-i cdrom-detect/eject boolean true
79
# Do not halt/poweroff after install
80
d-i debian-installer/exit/halt boolean false
81
d-i debian-installer/exit/poweroff boolean false
83
# maas client packages
84
$SNIPPET('maas_client_packages')
87
$SNIPPET('maas_preseed')
89
# Post scripts. Executes late command and disables PXE
90
d-i preseed/late_command string true && \
91
$SNIPPET('maas_sudoers') && \
92
$SNIPPET('maas_disable_pxe') && \