-
Notifications
You must be signed in to change notification settings - Fork 0
/
9-armhf.cfg
63 lines (49 loc) · 2.33 KB
/
9-armhf.cfg
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
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select us
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string localdomain
d-i hw-detect/load_firmware boolean false
d-i mirror/protocol string http
d-i mirror/suite string stretch
d-i passwd/root-password password root
d-i passwd/root-password-again password root
d-i passwd/user-fullname string test
d-i passwd/username string test
d-i passwd/user-password password test
d-i passwd/user-password-again password test
d-i passwd/user-default-groups string sudo
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Warsaw
d-i clock-setup/ntp boolean false
# The installation procedure for Debian 9 on armhf involves two hard disks.
# Therefore, the installer won't be able to automatically select a destination
# disk, we need to specify it here.
# The two disks can be distinguished by their type:
# - the source disk is a SCSI device (sda),
# - the destination disk is a virtio device (vda).
d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
# A DOS partition table is required (instead of a GPT) for extracting the
# kernel and initrd.
d-i partman-partitioning/choose_label string msdos
d-i partman-partitioning/default_label string msdos
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i base-installer/kernel/image string linux-image-armmp-lpae
tasksel tasksel/first multiselect standard ssh-server
d-i pkgsel/upgrade select full-upgrade
d-i pkgsel/include string sudo
# Skip bootloader installation, because it doesn't work anyway (either errors
# out in the installer or hangs at boot time). We'll need to boot via QEMUs
# -kernel / -initrd / -append parameters.
d-i grub-installer/skip boolean true
d-i lilo-installer/skip boolean true
d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true
# The installer sets up an interface named enp0s2, but after rebooting the
# interface is named eth0.
d-i preseed/late_command string echo >> /target/etc/network/interfaces; echo allow-hotplug eth0 >> /target/etc/network/interfaces; echo iface eth0 inet dhcp >> /target/etc/network/interfaces