-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebian8-fileserver.cfg
More file actions
83 lines (69 loc) · 2.89 KB
/
debian8-fileserver.cfg
File metadata and controls
83 lines (69 loc) · 2.89 KB
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
80
81
82
# vim: syntax=config ts=4 sts=4 sw=4 expandtab
##
# Genereic settings for Stacken
##
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select se
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/wireless_wep string
d-i mirror/country string manual
d-i mirror/http/hostname string httpredir.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i passwd/make-user boolean false
d-i passwd/root-password password changeme
d-i passwd/root-password-again password changeme
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Stockholm
d-i clock-setup/ntp boolean true
##
# Setup system disk RAID
##
# Download utils and prep the system, this is done early
# (before early_command) in the installer.
d-i preseed/run string scripts/install.sh
# Set misc settings
d-i partman-partitioning/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
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-md/confirm boolean true
d-i partman-md/device_remove_md boolean true
# Use GPT
#d-i partman-basicfilesystems/choose_label string gpt
#d-i partman-basicfilesystems/default_label string gpt
#d-i partman-partitioning/choose_label string gpt
#d-i partman-partitioning/default_label string gpt
#d-i partman/choose_label string gpt
#d-i partman/default_label string gpt
#d-i partman-partitioning/choose_label select gpt
# Set up disk layout
d-i partman-auto/expert_recipe string \
root :: \
512 39 512 raid $lvmignore{ } $primary{ } method{ raid } . \
1024 90 1024 raid $lvmignore{ } $primary{ } method{ raid } . \
100 100 -1 raid $lvmignore{ } $primary{ } method{ raid } .
d-i partman-auto/choose_recipe select root
d-i partman-auto/method string raid
# Select the smallest disks from scripts provided from install.sh
# This step is executed a little later, but before the install.
d-i partman/early_command \
string debconf-set partman-auto/disk "$(get-small-disks)"; \
debconf-set grub-installer/bootdev "$(get-small-disks)"; \
debconf-set grub-installer/choose_bootdev "$(get-small-disks)"; \
debconf-set partman-auto-raid/recipe "1 2 0 ext4 /boot $(get-raid-n 1)1#$(get-raid-n 2)1 . 1 2 0 swap - $(get-raid-n 1)2#$(get-raid-n 2)2 . 1 2 0 ext4 / $(get-raid-n 1)3#$(get-raid-n 2)3 ."
##
# Misc tasks
##
tasksel tasksel/first multiselect ssh-server
popularity-contest popularity-contest/participate boolean false
d-i pkgsel/upgrade select safe-upgrade
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean false