azvyagintsev | 393dc8e | 2018-11-19 11:31:26 +0200 | [diff] [blame] | 1 | choose-mirror-bin mirror/http/proxy string |
azvyagintsev | be15863 | 2018-12-13 20:23:52 +0200 | [diff] [blame] | 2 | d-i mirror/country string manual |
| 3 | d-i apt-setup/use_mirror boolean false |
Aleksey Zvyagintsev | 42e7695 | 2018-12-14 13:40:44 +0000 | [diff] [blame] | 4 | d-i base-installer/install-recommends boolean false |
azvyagintsev | be15863 | 2018-12-13 20:23:52 +0200 | [diff] [blame] | 5 | |
azvyagintsev | 393dc8e | 2018-11-19 11:31:26 +0200 | [diff] [blame] | 6 | d-i debian-installer/locale string en_US |
| 7 | d-i debian-installer/language string en |
| 8 | d-i debian-installer/country EN |
| 9 | |
| 10 | d-i pkgsel/install-language-support boolean false |
| 11 | |
| 12 | d-i debian-installer/framebuffer boolean false |
| 13 | d-i debconf/frontend select noninteractive |
| 14 | d-i base-installer/kernel/override-image string linux-server |
| 15 | d-i clock-setup/utc boolean true |
| 16 | d-i clock-setup/utc-auto boolean true |
| 17 | d-i finish-install/reboot_in_progress note |
| 18 | d-i grub-installer/only_debian boolean true |
| 19 | d-i grub-installer/with_other_os boolean true |
| 20 | d-i netcfg/get_domain string unassigned-domain |
| 21 | d-i netcfg/get_hostname string unassigned-hostname |
| 22 | |
| 23 | d-i partman-auto/disk string /dev/sda /dev/vda |
Vasyl Saienko | ba5bc5a | 2018-11-22 15:02:49 +0200 | [diff] [blame] | 24 | # Use LVM for partitioning |
| 25 | d-i partman-auto/method string lvm |
azvyagintsev | 393dc8e | 2018-11-19 11:31:26 +0200 | [diff] [blame] | 26 | |
Vasyl Saienko | ba5bc5a | 2018-11-22 15:02:49 +0200 | [diff] [blame] | 27 | # GPT |
| 28 | |
| 29 | d-i partman-basicfilesystems/choose_label string gpt |
| 30 | d-i partman-basicfilesystems/default_label string gpt |
| 31 | d-i partman-partitioning/choose_label string gpt |
| 32 | d-i partman-partitioning/default_label string gpt |
| 33 | d-i partman/choose_label string gpt |
| 34 | d-i partman/default_label string gpt |
| 35 | |
| 36 | # GPT |
| 37 | |
| 38 | d-i partman-auto-lvm/guided_size string max |
| 39 | |
| 40 | # If one of the disks that are going to be automatically partitioned |
| 41 | # contains an old LVM configuration, the user will normally receive a |
| 42 | # warning. Preseed this away |
| 43 | d-i partman-lvm/device_remove_lvm boolean true |
| 44 | |
| 45 | # And the same goes for the confirmation to write the lvm partitions. |
| 46 | d-i partman-lvm/confirm boolean true |
| 47 | |
| 48 | # Really, please don't prompt me! |
| 49 | d-i partman-lvm/confirm_nooverwrite boolean true |
| 50 | |
| 51 | d-i partman-auto/expert_recipe string \ |
| 52 | vcp_lvm :: \ |
| 53 | 1 1 1 free \ |
| 54 | $gptonly{ } \ |
| 55 | $primary{ } \ |
| 56 | $bios_boot{ } \ |
| 57 | method{ biosgrub } \ |
| 58 | . \ |
| 59 | 1051 2 1051 ext3 \ |
| 60 | $gptonly{ } \ |
| 61 | $primary{ } \ |
| 62 | method{ format } format{ } \ |
| 63 | use_filesystem{ } filesystem{ ext3 } \ |
| 64 | lable{ lable-boot } \ |
| 65 | mountpoint{ /boot } \ |
| 66 | . \ |
| 67 | 10 10 10 ext4 \ |
| 68 | $defaultignore{ } \ |
| 69 | $gptonly{ } \ |
| 70 | $primary{ } \ |
| 71 | method{ lvm } \ |
| 72 | vg_name{ vg0 } \ |
| 73 | . \ |
| 74 | 105 2 105 ext4 \ |
| 75 | $lvmok{ } \ |
| 76 | in_vg{ vg0 } \ |
| 77 | lv_name{ home } \ |
| 78 | method{ lvm } format{ } \ |
| 79 | use_filesystem{ } filesystem{ ext4 } \ |
| 80 | mountpoint{ /home } \ |
| 81 | options/nodev{ nodev } \ |
| 82 | . \ |
| 83 | 105 2 105 ext4 ext4 \ |
| 84 | $lvmok{ } \ |
| 85 | in_vg{ vg0 } \ |
| 86 | lv_name{ tmp } \ |
| 87 | method{ lvm } format{ } \ |
| 88 | use_filesystem{ } filesystem{ ext4 } \ |
| 89 | mountpoint{ /tmp } \ |
| 90 | options/nodev{ nodev } \ |
| 91 | options/nosuid{ nosuid } \ |
| 92 | options/noexec{ noexec } \ |
| 93 | . \ |
| 94 | 105 2 105 ext4 \ |
| 95 | $lvmok{ } \ |
| 96 | in_vg{ vg0 } \ |
| 97 | lv_name{ var_log } \ |
| 98 | method{ format } format{ } \ |
| 99 | use_filesystem{ } filesystem{ ext4 } \ |
| 100 | mountpoint{ /var/log } \ |
| 101 | options/noexec{ noexec } \ |
| 102 | . \ |
| 103 | 315 2 315 ext4 ext4 \ |
| 104 | $lvmok{ } \ |
| 105 | in_vg{ vg0 } \ |
| 106 | lv_name{ var_tmp } \ |
| 107 | method{ format } format{ } \ |
| 108 | use_filesystem{ } filesystem{ ext4 } \ |
| 109 | mountpoint{ /var/tmp } \ |
| 110 | options/nodev{ nodev } \ |
| 111 | options/nosuid{ nosuid } \ |
| 112 | options/noexec{ noexec } \ |
| 113 | . \ |
| 114 | 105 2 105 ext4 ext4 \ |
| 115 | $lvmok{ } \ |
| 116 | in_vg{ vg0 } \ |
| 117 | lv_name{ var_log_audit } \ |
| 118 | method{ format } format{ } \ |
| 119 | use_filesystem{ } filesystem{ ext4 } \ |
| 120 | mountpoint{ /var/log/audit } \ |
| 121 | options/noexec{ noexec } \ |
| 122 | . \ |
| 123 | 2154 2 65536 ext4 \ |
| 124 | $lvmok{ } \ |
| 125 | method{ format } format{ } \ |
| 126 | use_filesystem{ } filesystem{ ext4 } \ |
| 127 | mountpoint{ / } \ |
| 128 | in_vg{ vg0 } \ |
| 129 | lv_name{ root } \ |
| 130 | . |
| 131 | |
| 132 | d-i partman-auto/choose_recipe select vcp_lvm |
| 133 | |
| 134 | partman-basicfilesystems partman-basicfilesystems/no_swap boolean false |
| 135 | |
| 136 | # This makes partman automatically partition without confirmation, provided |
| 137 | # that you told it what to do using one of the methods above. |
| 138 | d-i partman-partitioning/confirm_write_new_label boolean true |
| 139 | d-i partman/choose_partition select finish |
| 140 | d-i partman/confirm boolean true |
| 141 | d-i partman/confirm_nooverwrite boolean true |
| 142 | |
azvyagintsev | 393dc8e | 2018-11-19 11:31:26 +0200 | [diff] [blame] | 143 | d-i pkgsel/include string openssh-server |
| 144 | d-i pkgsel/install-language-support boolean false |
| 145 | d-i pkgsel/update-policy select none |
| 146 | popularity-contest popularity-contest/participate boolean false |
| 147 | |
| 148 | d-i pkgsel/upgrade select none |
| 149 | |
| 150 | d-i time/zone string UTC |
azvyagintsev | be15863 | 2018-12-13 20:23:52 +0200 | [diff] [blame] | 151 | d-i passwd/root-password password r00tme |
| 152 | d-i passwd/root-password-again password r00tme |
azvyagintsev | 393dc8e | 2018-11-19 11:31:26 +0200 | [diff] [blame] | 153 | d-i passwd/root-login boolean true |
| 154 | d-i passwd/make-user boolean false |
| 155 | d-i openssh-server/permit-root-login boolean true |
| 156 | d-i user-setup/allow-password-weak boolean true |
| 157 | d-i user-setup/encrypt-home boolean false |
| 158 | tasksel tasksel/first multiselect minimal, ssh-server, openssh-server |
| 159 | |
| 160 | d-i preseed/late_command string \ |
| 161 | in-target sed -i 's/PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config |