-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookworm-server-system.seed
92 lines (92 loc) · 4.73 KB
/
bookworm-server-system.seed
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
83
84
85
86
87
88
89
90
91
92
#
# Server system install pressed file.
#
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/language string en
d-i debian-installer/country string IN
d-i keyboard-configuration/xkb-keymap select us
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string server-system-install
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean true
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
# echo "password" | mkpasswd -s -m sha512crypt
d-i passwd/root-password-crypted password $6$Fk8tzypLnN9YX3aW$9dDZ7lWJDnHqaNMxMgZSrFFGrqFEQkGIXJOpQj/QFQjtBqNr2eIs4Cj1GWjuAkAGjjLBs3ArK4BSKV3aukaab.
d-i passwd/user-fullname string System Administrator
d-i passwd/username string administrator
# echo "password" | mkpasswd -s -m sha512crypt
d-i passwd/user-password-crypted password $6$Fk8tzypLnN9YX3aW$9dDZ7lWJDnHqaNMxMgZSrFFGrqFEQkGIXJOpQj/QFQjtBqNr2eIs4Cj1GWjuAkAGjjLBs3ArK4BSKV3aukaab.
d-i passwd/user-default-groups string sudo cdrom video audio docker
d-i clock-setup/utc boolean true
d-i time/zone string Asia/Kolkata
d-i clock-setup/ntp boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string \
disk-partitioning :: \
512 0 512 free \
$iflabel{ gpt } \
$reusemethod{ } \
method{ efi } \
format{ } \
. \
1024 0 1024 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
65536 0 65536 linux-swap \
method{ swap } format{ } \
. \
131072 0 131072 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
32768 0 32768 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var/log } \
. \
131072 0 4194304 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /userdata } \
.
d-i partman-auto/choose_recipe select disk-partitioning
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-efi/non_efi_system boolean true
d-i partman-partitioning/choose_label select gpt
d-i partman-partitioning/default_label string gpt
d-i partman/mount_style select uuid
d-i apt-setup/disable-cdrom-entries boolean true
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string default
d-i apt-setup/cdrom/set-first boolean false
d-i apt-setup/use_mirror boolean false
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org
tasksel tasksel/first multiselect standard, ssh-server
d-i pkgsel/include string sudo docker.io docker-compose net-tools procps ufw vim \
wget curl apparmor apparmor-profiles apparmor-utils openssl ca-certificates \
tar zip unzip xz-utils network-manager ethtool
popularity-contest popularity-contest/participate boolean false
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i grub-installer/with_other_os boolean false
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean false
d-i debian-installer/exit/poweroff boolean true
#
# Run some post-install script.
# d-i preseed/late_command string in-target wget http://SERVER_ADDR/system-setup-tools/default-system-setup.sh ; \
# in-target /bin/bash default-system-setup.sh ; \
#