mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix partition sizes to allow the building of systemvmtemplate, and fix ambiguous redirect fix.
124 lines
4.9 KiB
INI
124 lines
4.9 KiB
INI
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
### Localization
|
|
# Locale sets language and country.
|
|
d-i debian-installer/locale string en_US.UTF-8
|
|
|
|
# Keyboard selection.
|
|
d-i keyboard-configuration/xkb-keymap select us
|
|
|
|
### Network configuration
|
|
d-i netcfg/choose_interface select auto
|
|
d-i netcfg/get_hostname string systemvm
|
|
d-i netcfg/get_domain string apache.org
|
|
d-i netcfg/wireless_wep string
|
|
|
|
d-i hw-detect/load_firmware boolean true
|
|
|
|
### Mirror settings
|
|
d-i mirror/country string manual
|
|
d-i mirror/http/hostname string http.debian.net
|
|
d-i mirror/http/directory string /debian
|
|
d-i mirror/http/proxy string
|
|
|
|
### Apt setup
|
|
d-i apt-setup/cdrom/set-first false
|
|
d-i apt-setup/security-updates boolean true
|
|
d-i apt-setup/services-select multiselect security, updates
|
|
d-i apt-setup/security_host string security.debian.org
|
|
d-i apt-setup/local0/source boolean false
|
|
d-i apt-setup/multiarch string i386
|
|
|
|
### Clock and time zone setup
|
|
d-i clock-setup/utc boolean true
|
|
d-i time/zone string UTC
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
### Partitioning
|
|
d-i partman-auto/disk string /dev/vda
|
|
d-i partman-auto/method string regular
|
|
d-i partman-auto/expert_recipe string \
|
|
boot-root :: \
|
|
100 60 100 ext2 \
|
|
$primary{ } $bootable{ } \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext2 } \
|
|
mountpoint{ /boot } \
|
|
. \
|
|
1175 40 1200 ext4 \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ / } \
|
|
. \
|
|
480 50 700 ext4 \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ /var } \
|
|
. \
|
|
80 90 100 ext4 \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ /tmp } \
|
|
. \
|
|
256 1000 256 linux-swap \
|
|
method{ swap } format{ } \
|
|
.
|
|
|
|
d-i partman-md/confirm boolean true
|
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
|
d-i partman/choose_partition select finish
|
|
d-i partman/confirm boolean true
|
|
d-i partman/confirm_nooverwrite boolean true
|
|
|
|
### Base system installation
|
|
# ...
|
|
|
|
### Account setup
|
|
d-i passwd/root-login boolean false
|
|
d-i passwd/root-password password password
|
|
d-i passwd/root-password-again password password
|
|
d-i passwd/user-fullname string Cloud User
|
|
d-i passwd/username string cloud
|
|
d-i passwd/user-password password cloud
|
|
d-i passwd/user-password-again password cloud
|
|
d-i user-setup/encrypt-home boolean false
|
|
d-i user-setup/allow-password-weak boolean true
|
|
d-i passwd/user-default-groups string audio cdrom video admin
|
|
|
|
openssh-server openssh-server/permit-root-login boolean true
|
|
|
|
### Package selection
|
|
tasksel tasksel/first multiselect ssh-server
|
|
d-i pkgsel/include string openssh-server ntp acpid sudo bzip2 openssl
|
|
# Allowed values: none, safe-upgrade, full-upgrade
|
|
d-i pkgsel/upgrade select full-upgrade
|
|
|
|
popularity-contest popularity-contest/participate boolean false
|
|
|
|
### Boot loader installation
|
|
d-i grub-installer/only_debian boolean true
|
|
d-i grub-installer/with_other_os boolean true
|
|
d-i grub-installer/bootdev string default
|
|
d-i finish-install/reboot_in_progress note
|
|
|
|
#### Advanced options
|
|
# Prevent packaged version of VirtualBox Guest Additions being installed:
|
|
d-i preseed/early_command string sed -i \
|
|
'/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \
|
|
/usr/lib/pre-pkgsel.d/20install-hwpackages
|