-
Notifications
You must be signed in to change notification settings - Fork 3
/
preseed_ubuntu.cfg
54 lines (48 loc) · 2.38 KB
/
preseed_ubuntu.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
d-i debian-installer/locale string en_US
d-i debian-installer/language string en
d-i debian-installer/country string US
# Skip creation of a normal user account.
d-i passwd/make-user boolean false
d-i passwd/root-login boolean true
# printf "ubuntu" | mkpasswd -s -m sha-512
d-i passwd/root-password-crypted password $6$KC5aQVTfAEj$cfUlQi1422C09If79rNXZjavnrUWcXz5EVYBJ77sX9sb8EZoKBWpNNAerBo.Rix/4s/oryqKsws9dL3IKrwLt1
d-i user-setup/allow-password-weak boolean true
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 mirror/country string manual
d-i mirror/http/hostname string http://pl.archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i time/zone string Europe/Warsaw
d-i partman/mount_style select uuid
d-i partman/confirm boolean true
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
d-i partman-auto/disk string /dev/disk/by-path/pci-0000:00:10.0-usb-0:1:1.0-scsi-0:0:0:0
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
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-auto-lvm/guided_size string max
d-i partman-partitioning/confirm_write_new_label boolean true
d-i grub-installer/grub2_instead_of_grub_legacy boolean true
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666974
d-i grub-installer/only_debian boolean false
d-i grub-installer/bootdev string /dev/disk/by-path/pci-0000:00:10.0-usb-0:1:1.0-scsi-0:0:0:0
d-i pkgsel/update-policy select none
d-i pkgsel/include string openssh-server
d-i pkgsel/install-language-support boolean false
d-i finish-install/reboot_in_progress note
# disable /home encryption
d-i user-setup/encrypt-home boolean false
# https://ubuntuforums.org/showthread.php?t=2215103
d-i preseed/early_command string umount /media || true
d-i base-installer/install-recommends boolean false
popularity-contest popularity-contest/participate boolean false
tasksel tasksel/first multiselect minimal
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852323 + SSH
d-i preseed/late_command string update-dev; in-target update-grub; in-target sh -c 'sed -i "s/^#*PermitRootLogin.*\$/PermitRootLogin yes/g" /etc/ssh/sshd_config';