mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
- Several systemvmtemplate optimizations - Uses new macchinina template for running smoke tests - Switch to latest Debian 9.3.0 release for systemvmtemplate - Introduce a new `get_test_template` that uses tiny test template such as macchinina as defined test_data.py - rVR related fixes and improvements Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
130 lines
5.0 KiB
INI
130 lines
5.0 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/non-free boolean true
|
|
#d-i apt-setup/contrib boolean true
|
|
#d-i apt-setup/use_mirror 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/sda
|
|
d-i partman-auto/method string regular
|
|
d-i partman-auto/choose_recipe select atomic
|
|
d-i partman-auto/expert_recipe string \
|
|
boot-root :: \
|
|
100 50 200 ext2 \
|
|
$primary{ } $bootable{ } \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext2 } \
|
|
mountpoint{ /boot } \
|
|
. \
|
|
1450 40 1600 ext4 \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ / } \
|
|
. \
|
|
350 60 500 ext4 \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ /var/log } \
|
|
. \
|
|
100 90 200 ext4 \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ /tmp } \
|
|
. \
|
|
100 100 1024 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
|
|
|
|
### Apt setup
|
|
# ...
|
|
|
|
### 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 none
|
|
|
|
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
|