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