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