|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +# or more contributor license agreements. See the NOTICE file |
| 3 | +# distributed with this work for additional information |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
| 5 | +# to you under the Apache License, Version 2.0 (the |
| 6 | +# "License"); you may not use this file except in compliance |
| 7 | +# with the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, |
| 12 | +# software distributed under the License is distributed on an |
| 13 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +# KIND, either express or implied. See the License for the |
| 15 | +# specific language governing permissions and limitations |
| 16 | +# under the License. |
| 17 | + |
| 18 | +### Localization |
| 19 | +# Locale sets language and country. |
| 20 | +d-i debian-installer/locale string en_US.UTF-8 |
| 21 | +d-i debian-installer/country string IN |
| 22 | + |
| 23 | +# Keyboard selection. |
| 24 | +d-i keymap select us |
| 25 | +d-i keyboard-configuration/xkb-keymap select us |
| 26 | + |
| 27 | +### Network configuration |
| 28 | +d-i netcfg/choose_interface select auto |
| 29 | +d-i netcfg/get_hostname string systemvm |
| 30 | +d-i netcfg/get_domain string apache.org |
| 31 | +d-i netcfg/wireless_wep string |
| 32 | + |
| 33 | +d-i hw-detect/load_firmware boolean true |
| 34 | + |
| 35 | +### Mirror settings |
| 36 | +d-i mirror/country string manual |
| 37 | +d-i mirror/http/hostname string deb.debian.org |
| 38 | +d-i mirror/http/directory string /debian |
| 39 | +d-i mirror/http/proxy string |
| 40 | + |
| 41 | +### Apt setup |
| 42 | +d-i apt-setup/cdrom/set-first false |
| 43 | +d-i apt-setup/security-updates boolean true |
| 44 | +d-i apt-setup/services-select multiselect security, updates |
| 45 | +d-i apt-setup/security_host string security.debian.org |
| 46 | +d-i apt-setup/local0/source boolean false |
| 47 | +d-i apt-setup/multiarch string i386 |
| 48 | +d-i apt-setup/backports boolean true |
| 49 | +d-i apt-setup/contrib boolean true |
| 50 | +d-i apt-setup/multiverse boolean true |
| 51 | +d-i apt-setup/universe boolean true |
| 52 | + |
| 53 | +### Clock and time zone setup |
| 54 | +d-i clock-setup/utc boolean true |
| 55 | +d-i time/zone string UTC |
| 56 | +d-i clock-setup/ntp boolean true |
| 57 | + |
| 58 | +### Partitioning |
| 59 | +d-i partman-auto/disk string /dev/vda |
| 60 | +d-i partman-auto/method string regular |
| 61 | +d-i partman-auto/expert_recipe string \ |
| 62 | + boot-root :: \ |
| 63 | + 400 60 400 ext2 \ |
| 64 | + $primary{ } $bootable{ } \ |
| 65 | + method{ format } format{ } \ |
| 66 | + use_filesystem{ } filesystem{ ext2 } \ |
| 67 | + mountpoint{ /boot } \ |
| 68 | + . \ |
| 69 | + 256 1000 256 linux-swap \ |
| 70 | + method{ swap } format{ } \ |
| 71 | + . \ |
| 72 | + 2240 40 4000 ext4 \ |
| 73 | + method{ format } format{ } \ |
| 74 | + use_filesystem{ } filesystem{ ext4 } \ |
| 75 | + mountpoint{ / } \ |
| 76 | + . |
| 77 | + |
| 78 | +d-i partman-md/confirm boolean true |
| 79 | +d-i partman-partitioning/confirm_write_new_label boolean true |
| 80 | +d-i partman/choose_partition select finish |
| 81 | +d-i partman/confirm boolean true |
| 82 | +d-i partman/confirm_nooverwrite boolean true |
| 83 | + |
| 84 | +### Base system installation |
| 85 | +# ... |
| 86 | + |
| 87 | +### Account setup |
| 88 | +d-i passwd/root-login boolean false |
| 89 | +d-i passwd/root-password password password |
| 90 | +d-i passwd/root-password-again password password |
| 91 | +d-i passwd/user-fullname string Cloud User |
| 92 | +d-i passwd/username string cloud |
| 93 | +d-i passwd/user-password password cloud |
| 94 | +d-i passwd/user-password-again password cloud |
| 95 | +d-i user-setup/encrypt-home boolean false |
| 96 | +d-i user-setup/allow-password-weak boolean true |
| 97 | +d-i passwd/user-default-groups string audio cdrom video admin |
| 98 | + |
| 99 | +### Package selection |
| 100 | +tasksel tasksel/first multiselect ssh-server |
| 101 | +d-i pkgsel/include string openssh-server ntp acpid sudo bzip2 openssl |
| 102 | +# Allowed values: none, safe-upgrade, full-upgrade |
| 103 | +d-i pkgsel/upgrade select full-upgrade |
| 104 | +d-i pkgsel/update-policy select none |
| 105 | + |
| 106 | +popularity-contest popularity-contest/participate boolean false |
| 107 | + |
| 108 | +### Boot loader installation |
| 109 | +d-i grub-installer/only_debian boolean true |
| 110 | +d-i grub-installer/bootdev string default |
| 111 | +d-i finish-install/reboot_in_progress note |
| 112 | + |
| 113 | +#### Advanced options |
0 commit comments