~ubuntu-branches/ubuntu/precise/maas/precise-updates

« back to all changes in this revision

Viewing changes to contrib/preseeds/maas.preseed

Tags: 1.2+bzr1373+dfsg-0ubuntu1~12.04.4
* SECURITY UPDATE: failure to authenticate downloaded content (LP: #1039513)
  - debian/patches/CVE-2013-1058.patch: Authenticate downloaded files with
    GnuPG and MD5SUM files. Thanks to Julian Edwards.
  - CVE-2013-1058
* SECURITY UPDATE: configuration options may be loaded from current working
  directory (LP: #1158425)
  - debian/patches/CVE-2013-1057-1-2.patch: Do not load configuration
    options from the current working directory. Thanks to Julian Edwards.
  - CVE-2013-1057

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# MAAS - Ubuntu Server Installation
2
 
# * Minimal install 
3
 
# * Cloud-init for bare-metal
4
 
# * maas_preseed snippet is expanded to provide cloud-init preseed data
5
 
 
6
 
# Locale 
7
 
d-i     debian-installer/locale string en_US.UTF-8
8
 
 
9
 
# No splash
10
 
d-i     debian-installer/splash boolean false
11
 
 
12
 
# Keyboard layout
13
 
d-i     console-setup/ask_detect        boolean false
14
 
d-i     console-setup/layoutcode        string us
15
 
d-i     console-setup/variantcode       string
16
 
 
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
23
 
 
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
28
 
 
29
 
# Partitioning
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
40
 
 
41
 
# Use server kernel
42
 
d-i     base-installer/kernel/image     string linux-server
43
 
 
44
 
# User Setup
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
54
 
 
55
 
# APT
56
 
$SNIPPET('maas_proxy')
57
 
 
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
62
 
 
63
 
# Lang
64
 
d-i     pkgsel/language-packs   multiselect en
65
 
d-i     pkgsel/update-policy    select none
66
 
d-i     pkgsel/updatedb boolean true
67
 
 
68
 
# Boot-loader
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
75
 
 
76
 
# Eject cdrom
77
 
d-i     cdrom-detect/eject      boolean true
78
 
 
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
82
 
 
83
 
# maas client packages
84
 
$SNIPPET('maas_client_packages')
85
 
 
86
 
# maas_preseed
87
 
$SNIPPET('maas_preseed')
88
 
 
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') && \
93
 
        true