#_preseed_V0.5
|
|
|
|
# NOTE: this has a pause at the partitioning stage for safety (don't want to erase hdds)
|
|
# This is for i386 kernel
|
|
# to use, upload to a paste text site somewhere, and point automated install here.
|
|
|
|
|
|
# 1. Choose language
|
|
# ==================
|
|
|
|
d-i debian-installer/language string en
|
|
d-i debian-installer/country string US
|
|
d-i localechooser/supported-locales multiselect en_US.UTF-8, en_DK.UTF-8
|
|
d-i debian-installer/locale select en_US.UTF-8
|
|
|
|
|
|
# 2. Configure the keyboard
|
|
# =========================
|
|
|
|
d-i keyboard-configuration/xkb-keymap select us
|
|
|
|
|
|
# 3. Detect and mount CD-ROM
|
|
# ==========================
|
|
|
|
d-i cdrom-detect/load_media boolean true
|
|
|
|
|
|
# 4. Load installer components from CD
|
|
|
|
|
|
# 5. Detect network hardware
|
|
|
|
#
|
|
d-i hw-detect/load_media boolean false
|
|
d-i hw-detect/load_firmware boolean false
|
|
|
|
|
|
# 6. Configure the network
|
|
# ========================
|
|
|
|
# Auto-configure networking?
|
|
d-i netcfg/use_autoconfig boolean true
|
|
|
|
# Waiting time (in seconds) for link detection:
|
|
d-i netcfg/link_wait_timeout string 10
|
|
|
|
d-i netcfg/dhcp_timeout string 60
|
|
d-i netcfg/dhcpv6_timeout string 60
|
|
d-i netcfg/choose_interface select auto
|
|
|
|
# Hostname:
|
|
d-i netcfg/get_hostname string devuan_host
|
|
d-i netcfg/hostname devuan_host
|
|
|
|
# Domain name:
|
|
d-i netcfg/get_domain string local
|
|
|
|
#
|
|
d-i netcfg/wireless_wep string
|
|
|
|
|
|
# 7. Setup users and passwords
|
|
# ============================
|
|
|
|
# Enable shadow passwords?
|
|
d-i passwd/shadow boolean true
|
|
|
|
# Allow login as root?
|
|
d-i passwd/root-login boolean true
|
|
|
|
# Root password:
|
|
d-i passwd/root-password password defpass123
|
|
|
|
# Create a normal account now?
|
|
d-i passwd/make-user boolean false
|
|
|
|
|
|
# 8. Configure the clock
|
|
# ======================
|
|
|
|
# Set the clock using NTP?
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
# NTP server to use:
|
|
d-i clock-setup/ntp-server string pool.ntp.org
|
|
|
|
# Select your timezone:
|
|
d-i time/zone string America/New_York
|
|
|
|
|
|
# 9. Detect disks
|
|
|
|
|
|
# 10. Partition disks
|
|
# ===================
|
|
|
|
d-i partman-auto/disk string /dev/sda
|
|
d-i partman-auto/method string regular
|
|
|
|
# You can choose one of the three predefined partitioning recipes:
|
|
# - atomic: all files in one partition
|
|
# - home: separate /home partition
|
|
# - multi: separate /home, /usr, /var, and /tmp partitions
|
|
d-i partman-auto/choose_recipe select atomic
|
|
|
|
#NOTE: it may warn you before partitioning. This is a safety check and can be omitted if desired.
|
|
|
|
|
|
|
|
# 11. Install the base system
|
|
# ===========================
|
|
|
|
#NOTE: i386 here##################################################
|
|
|
|
# Kernel to install:
|
|
d-i base-installer/kernel/image string linux-image-i386
|
|
|
|
# Drivers to include in the initrd:
|
|
|
|
#
|
|
d-i base-installer/install-recommends boolean true
|
|
|
|
|
|
# 12. Configure the package manager
|
|
# =================================
|
|
|
|
# Use a network mirror?
|
|
d-i apt-setup/use_mirror boolean true
|
|
|
|
# Protocol for file downloads:
|
|
d-i mirror/protocol string http
|
|
|
|
# Devuan archive mirror country:
|
|
d-i mirror/country string manual
|
|
|
|
# Devuan archive mirror:
|
|
d-i mirror/http/hostname string deb.devuan.org
|
|
|
|
# HTTP proxy information (blank for none):
|
|
d-i mirror/http/proxy string
|
|
|
|
#
|
|
d-i mirror/http/directory string /merged/
|
|
d-i mirror/suite string ascii
|
|
|
|
|
|
# Use non-free software?
|
|
d-i apt-setup/non-free boolean false
|
|
|
|
# Enable source repositories in APT?
|
|
d-i apt-setup/enable-source-repositories boolean false
|
|
|
|
# Services to use:
|
|
d-i apt-setup/services-select multiselect security updates, release updates, backported software
|
|
|
|
#
|
|
d-i apt-setup/contrib boolean false
|
|
d-i apt-setup/disable-cdrom-entries boolean true
|
|
|
|
|
|
# 13. Select and install software
|
|
# ===============================
|
|
|
|
# Participate in the package usage survey?
|
|
popularity-contest popularity-contest/participate boolean false
|
|
|
|
# Choose software to install:
|
|
tasksel tasksel/first multiselect standard, ssh-server
|
|
|
|
#
|
|
d-i pkgsel/include string openssh-server build-essential sudo screen
|
|
d-i pkgsel/upgrade select none
|
|
|
|
|
|
# 14. Install the GRUB boot loader on a hard disk
|
|
# ===============================================
|
|
|
|
# Install the GRUB boot loader to the master boot record?
|
|
d-i grub-installer/with_other_os boolean true
|
|
|
|
#
|
|
d-i grub-installer/only_debian boolean true
|
|
d-i grub-installer/grub2_instead_of_grub_legacy boolean true
|
|
|
|
# Device for boot loader installation:
|
|
d-i grub-installer/bootdev string /dev/sda
|
|
d-i grub-installer/choose_bootdev select /dev/sda
|
|
|
|
# Force GRUB installation to the EFI removable media path?
|
|
grub-installer grub-installer/force-efi-extra-removable boolean false
|
|
|
|
|
|
# 15. Finish the installation
|
|
# ===========================
|
|
|
|
# Is the system clock set to UTC?
|
|
d-i clock-setup/utc boolean true
|
|
|
|
|
|
#
|
|
d-i finish-install/reboot_in_progress note
|
|
d-i cdrom-detect/eject boolean true
|