summaryrefslogtreecommitdiff
path: root/http/preseed.cfg
blob: 1d9322ac13af1317b3855d0d9b08f3b6d408e4b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Built from stock Jessie config https://www.debian.org/releases/jessie/example-preseed.txt

d-i clock-setup/ntp boolean true
d-i clock-setup/utc boolean true
d-i finish-install/reboot_in_progress note
d-i mirror/country string manual

# Apt mirror
d-i mirror/http/directory string /debian
d-i mirror/http/hostname string deb.debian.org

# Block some prompts
d-i mirror/http/proxy string
d-i netcfg/choose_interface select auto
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean true

# Partitioning
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/default_filesystem string ext4
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto-lvm/new_vg_name string debian
d-i partman-basicfilesystems/no_swap boolean false

# Boot: 256MB
# Root: At least 4GB, will fill to the end of the disk

d-i partman-auto/expert_recipe string                         \
      boot-root ::                                            \
              256 1000 256 ext4                               \
                      $primary{ }                             \
                      $bootable{ }                            \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ /boot }                     \
                      options/noatime{ noatime }              \
              .                                               \
              4096 10000 1000000000 ext4                      \
                      $lvmok{ } lv_name{ root }               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ / }                         \
                      options/noatime{ noatime }              \
              .

d-i base-installer/install-recommends boolean false
d-i apt-setup/non-free boolean false
d-i apt-setup/contrib boolean false
d-i passwd/root-login boolean false
# nfs-common and portmap are needed for vagrant nfs shared folder support
# rsync is installed by "leap node init"
d-i pkgsel/include string openssh-server vim sudo rsync nfs-common portmap

d-i pkgsel/install-language-support boolean false

# Perform package upgrade during install
d-i pkgsel/upgrade select full-upgrade

# Timezone
d-i time/zone string Etc/UTC

popularity-contest popularity-contest/participate boolean false
tasksel tasksel/first multiselect minimal

# Grub bootloader
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string default