B.4. Indhold af forhåndskonfigurationsfilen (for bullseye)

Konfigurationsfragmenterne brugt i dette appendiks er også tilgængelige som et eksempel på en forhåndskonfigureret fil fra https://www.debian.org/releases/bullseye/example-preseed.txt.

Bemærk at dette eksempel er baseret på en installation for Intel x86-arkitekturen. Hvis du installerer en anden arkitektur, så kan nogle af eksemplerne (såsom tastatturvalg og installation af opstartsindlæser) være irrelevante og skal erstattes af debconf-indstillinger passende for din arkitektur.

Detaljer om hvordan forskellige komponenter for Debians installationsprogram fungerer kan findes i Afsnit 6.3, “Brug af individuelle komponenter”.

B.4.1. Opsætning af sted

Under en normal installation vil spørgsmål om sted blive spurgt først, så disse værdier kan kun forhåndskonfigureres via metoderne hos initrd- eller kerneopstartsparametre. Automatisk tilstand (Afsnit B.2.3, “Auto-tilstand”) inkluderer indstillingen auto-install/enable=true (normalt via aliasset for forhåndskonfiguration auto). Dette forsinker spørgsmålene om sted, så de kan forhåndskonfigureres med enhver metode.

Stedet kan bruges til at specificere både sprog og land og kan være enhver kombination af et sprog understøttet af debian-installer og et anerkendt land. Hvis kombinationen ikke udgør et gyldigt sted, så vil installationsprogrammet automatisk vælge et sted, som er gyldig for det valgte sprog. For at specificere stedet som en opstartsparametre, så brug locale=en_US.

Selvom denne metode er meget nem at bruge, så tillader den ikke forhåndskonfiguration af alle mulige kombinationer af sprog, land og sted[20]. Så alternativt kan værdierne forhåndskonfigureres individuelt. Sprog og land kan også angives som opstartsparametre.

# Forhåndskonfiguration af sted angiver sprog, land og sted..
d-i debian-installer/locale string en_US

# Værdierne kan også forhåndskonfigureres individuelt for større fleksibilitet.
#d-i debian-installer/language string en
#d-i debian-installer/country string NL
#d-i debian-installer/locale string en_GB.UTF-8
# Valgfrit kan yderligere steder angives for oprettelse.
#d-i localechooser/supported-locales multiselect en_US.UTF-8, nl_NL.UTF-8

Tastaturkonfiguration består af valg af et tastaturkort og (for andre end latinske tastaturkort) en ændringstast til at skifte mellem det amerikanske tastaturkort og andre ikke latinske tastaturkort. Kun grundlæggende tastaturkortvarianter er tilgængelige under installation. Avancerede varianter er kun tilgængelige i det installerede system, via dpkg-reconfigure keyboard-configuration.

# Tastaturvalg.
d-i keyboard-configuration/xkb-keymap select us
# d-i keyboard-configuration/toggle select No toggling

For at undlade tastaturkonfiguration, forhåndskonfigureres keymap med skip-config. Dette vil medføre, at kernens tastaturkort forbliver aktiv.

B.4.2. Netværkskonfiguration

Of course, preseeding the network configuration won't work if you're loading your preconfiguration file from the network. But it's great when you're booting from optical disc or USB stick. If you are loading preconfiguration files from the network, you can pass network config parameters by using kernel boot parameters.

Hvis du skal vælge en bestemt grænseflade under netopstart før indlæsning af en forhåndskonfigurationsfil fra netværket, så brug en opstartsparameter såsom interface=eth1.

Although preseeding the network configuration is normally not possible when using network preseeding (using preseed/url), you can use the following hack to work around that, for example if you'd like to set a static address for the network interface. The hack is to force the network configuration to run again after the preconfiguration file has been loaded by creating a preseed/run script containing the following commands:

kill-all-dhcp; netcfg

De følgende debconf-variabler er relevante for netværkskonfiguration.

# Disable network configuration entirely. This is useful for cdrom
# installations on non-networked devices where the network questions,
# warning and long timeouts are a nuisance.
#d-i netcfg/enable boolean false

# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1

# To set a different link detection timeout (default is 3 seconds).
# Values are interpreted as seconds.
#d-i netcfg/link_wait_timeout string 10

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60
#d-i netcfg/dhcpv6_timeout string 60

# Automatic network configuration is the default.
# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i netcfg/disable_autoconfig boolean true

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
#d-i netcfg/dhcp_failed note
#d-i netcfg/dhcp_options select Configure network manually

# Static network configuration.
#
# IPv4 example
#d-i netcfg/get_ipaddress string 192.168.1.42
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.1.1
#d-i netcfg/get_nameservers string 192.168.1.1
#d-i netcfg/confirm_static boolean true
#
# IPv6 example
#d-i netcfg/get_ipaddress string fc00::2
#d-i netcfg/get_netmask string ffff:ffff:ffff:ffff::
#d-i netcfg/get_gateway string fc00::1
#d-i netcfg/get_nameservers string fc00::1
#d-i netcfg/confirm_static boolean true

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

# If you want to force a hostname, regardless of what either the DHCP
# server returns or what the reverse DNS entry for the IP is, uncomment
# and adjust the following line.
#d-i netcfg/hostname string somehost

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish

# If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or
# change to false to disable asking.
#d-i hw-detect/load_firmware boolean true

Please note that netcfg will automatically determine the netmask if netcfg/get_netmask is not preseeded. In this case, the variable has to be marked as seen for automatic installations. Similarly, netcfg will choose an appropriate address if netcfg/get_gateway is not set. As a special case, you can set netcfg/get_gateway to none to specify that no gateway should be used.

B.4.3. Netværkskonsol

# Brug de følgende indstillinger, hvis du ønsker at gøre brug af komponenten
# network-console for ekstern installation over SSH. Dette giver kun mening
# hvis du forventer at udføre den resterende installation manuelt.
#d-i anna/choose_modules string network-console
#d-i network-console/authorized_keys_url string http://10.0.0.1/openssh-key
#d-i network-console/password password r00tme
#d-i network-console/password-again password r00tme

More information related to network-console can be found in Afsnit 6.3.10, “Installation over network-console”.

B.4.4. Spejlindstillinger

Afhængig af installationsmetoden du anvender, kan et spejl bruges til at hente yderligere komponenter for installationsprogrammet, for at installere det grundlæggende system og opsætte /etc/apt/sources.list for det installerede system.

Parameteren mirror/suite bestemmer programpakken for det installerede system.

Parameteren mirror/udeb/suite bestemmer programpakken for yderligere komponenter for installationsprogrammet. Den er kun nyttigt at angive denne, hvis komponenterne faktisk hentes over netværket og skal matche programpakken, som blev brugt til at bygge initrd'en for installationsmetoden brugt for installationen. Normalt vil installationsprogrammet automatisk brug den korrekte værdi og der bør derfor ikke være behov for at angive denne.

# Mirror protocol:
# If you select ftp, the mirror/country string does not need to be set.
# Default value for the mirror protocol: http.
#d-i mirror/protocol string ftp
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

# Suite to install.
#d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing

B.4.5. Kontoopsætning

Adgangskoden for root-kontoen og navn og adgangskode for den første normale brugers konto kan forhåndskonfigureres. For adgangskoderne kan du enten bruge rene tekstværdier eller crypt(3)-hasher.

[Advarsel] Advarsel

Vær opmærksom på at forhåndskonfiguration af adgangskoder ikke er fuldstændig sikker da alle med adgang til den forhåndskonfigurerede fil vil have viden om disse adgangskoder. Lagring af hashede adgangskoder anses for at være sikker medmindre at en svag hashingalgoritme såsom DES eller MD5 bruges; de giver mulighed for »bruteforce«-angreb. Anbefalede hashingalgoritmer for adgangskoder er SHA-256 og SHA512.

# Udelad oprettelsen af en root-konto (normal brugerkonto vil kunne
# anvende sudo).
#d-i passwd/root-login boolean false
# Alternativet, for at undlade oprettelsen af en normal brugerkonto.
#d-i passwd/make-user boolean false

# Root-adgangskode, enten i klar tekst
#d-i passwd/root-password password r00tme
#d-i passwd/root-password-again password r00tme
# eller krypteret via en crypt(3)-hash.
#d-i passwd/root-password-crypted password [crypt(3) hash]

# For at oprette en normal brugerkonto.
#d-i passwd/user-fullname string Debian User
#d-i passwd/username string debian
# Normal brugers adgangskode, enten i klar tekst
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure
# eller krypteret via en crypt(3)-hash.
#d-i passwd/user-password-crypted password [crypt(3) hash]
# Opret den første bruger med den specificerde UID i stedet for standarden.
#d-i passwd/user-uid string 1010

# Brugerkontoen vil blive tilføjet til nogle opstartsgrupper. For at
# omgå dette, så brug følgende.
#d-i passwd/user-default-groups string audio cdrom video

Variablerne passwd/root-password-crypted og passwd/user-password-crypted kan også forhåndskonfigureres med ! som deres værdi. I det tilfælde, bliver den tilsvarende konto deaktiveret. Dette kan være nyttigt for root-kontoen, selvfølgelig såfremt en alternativ metode er opsat til at tillade administrative aktiviteter eller root-logind (for eksempel ved at bruge SSH-nøglegodkendelse eller sudo).

Den følgende kommando (tilgængelig fra pakken whois) kan bruges til at oprette en SHA-512-baseret crypt(3)-hash for en adgangskode:

mkpasswd -m sha-512

B.4.6. Ur- og tidszoneopsætning

# Kontrollerer om udstyrets ur er sat til UTC.
d-i clock-setup/utc boolean true

# Du kan sætte dette til enhver gyldig indstilling for $TZ; se indholdet af
# /usr/share/zoneinfo/ for gyldige værdier.
d-i time/zone string US/Eastern

# Kontrollerer om NTP skal bruges til at sætte uret under installationen
d-i clock-setup/ntp boolean true
# NTP-server at bruge. Standarden er næsten altid fin her.
#d-i clock-setup/ntp-server string ntp.example.com

B.4.7. Partitionering

Brug af forhåndskonfiguration til at partitionere harddisken er begrænset til det som partman-auto understøtter. Du kan vælge at partitionere enten eksisterende fri plads på en disk eller en hel disk. Layouttet på disken kan bestemmes ved at bruge en på forhånd defineret opskrift, en brugeropskrift fra en opskriftsfil eller en opskrift inkluderet i forhåndskonfigurationsfilen.

Forhåndskonfiguration af avancerede partitionsopsætninger via brug af RAID, LVM og kryptering er understøttet, men ikke med den fulde fleksibilitet under partitionering under en installation uden forhåndskonfiguration.

Eksemplerne nedenfor viser kun grundlæggende information vedrørende brugen af opskrifter. Se filerne partman-auto-recipe.txt og partman-auto-raid-recipe.txt inkluderet i pakken debian-installer for alle detaljer. Begge filer er også tilgængelig fra debian-installer kildearkivet. Bemærk at den understøttede funktionalitet kan ændre sig mellem udgivelser.

[Advarsel] Advarsel

Identifikationen af diske er afhængige af rækkefølgen, som deres drivere indlæses i. Hvis der er flere diske i systemet, så sikr dig, at den korrekte vil blive valgt, før forhåndskonfiguration anvendes.

B.4.7.1. Partitioneringseksempel

# If the system has free space you can choose to only partition that space.
# This is only honoured if partman-auto/method (below) is not set.
#d-i partman-auto/init_automatically_partition select biggest_free

# Alternatively, you may specify a disk to partition. If the system has only
# one disk the installer will default to using that, but otherwise the device
# name must be given in traditional, non-devfs format (so e.g. /dev/sda
# and not e.g. /dev/discs/disc0/disc).
# For example, to use the first SCSI/SATA hard disk:
#d-i partman-auto/disk string /dev/sda
# In addition, you'll need to specify the method to use.
# The presently available methods are:
# - regular: use the usual partition types for your architecture
# - lvm:     use LVM to partition the disk
# - crypto:  use LVM within an encrypted partition
d-i partman-auto/method string lvm

# You can define the amount of space that will be used for the LVM volume
# group. It can either be a size with its unit (eg. 20 GB), a percentage of
# free space or the 'max' keyword.
d-i partman-auto-lvm/guided_size string max

# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true

# You can choose one of the three predefined partitioning recipes:
# - atomic: all files in one partition
# - home:   separate /home partition
# - multi:  separate /home, /var, and /tmp partitions
d-i partman-auto/choose_recipe select atomic

# Or provide a recipe of your own...
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe

# If not, you can put an entire recipe into the preconfiguration file in one
# (logical) line. This example creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
#d-i partman-auto/expert_recipe string                         \
#      boot-root ::                                            \
#              40 50 100 ext3                                  \
#                      $primary{ } $bootable{ }                \
#                      method{ format } format{ }              \
#                      use_filesystem{ } filesystem{ ext3 }    \
#                      mountpoint{ /boot }                     \
#              .                                               \
#              500 10000 1000000000 ext3                       \
#                      method{ format } format{ }              \
#                      use_filesystem{ } filesystem{ ext3 }    \
#                      mountpoint{ / }                         \
#              .                                               \
#              64 512 300% linux-swap                          \
#                      method{ swap } format{ }                \
#              .

# The full recipe format is documented in the file partman-auto-recipe.txt
# included in the 'debian-installer' package or available from D-I source
# repository. This also documents how to specify settings such as file
# system labels, volume group names and which physical devices to include
# in a volume group.

## Partitioning for EFI
# If your system needs an EFI partition you could add something like
# this to the recipe above, as the first element in the recipe:
#               538 538 1075 free                              \
#                      $iflabel{ gpt }                         \
#                      $reusemethod{ }                         \
#                      method{ efi }                           \
#                      format{ }                               \
#               .                                              \
#
# The fragment above is for the amd64 architecture; the details may be
# different on other architectures. The 'partman-auto' package in the
# D-I source repository may have an example you can follow.

# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
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

# Force UEFI booting ('BIOS compatibility' will be lost). Default: false.
#d-i partman-efi/non_efi_system boolean true
# Ensure the partition table is GPT - this is required for EFI
#d-i partman-partitioning/choose_label select gpt
#d-i partman-partitioning/default_label string gpt

# When disk encryption is enabled, skip wiping the partitions beforehand.
#d-i partman-auto-crypto/erase_disks boolean false

B.4.7.2. Partitionering med brug af RAID

Du kan også bruge forhåndskonfiguration til at opsætte partitioner på program-RAID-arrayer. Understøttet er RAID-niveauerne 0, 1, 5, 6 og 10, der opretter degraded arrayer og specificerer ledige enheder.

[Advarsel] Advarsel

Denne type af automatiseret partitionering er nem at få gjort forkert. Det er også funktionalitet som modtager forholdsvis lidt test fra udviklerens side hos debian-installer. Ansvaret for at de forskellige opskrifter er korrekte (så de giver mening og ikke er i konflikt) ligger hos brugeren. Kontroller /var/log/syslog hvis du får problemer.

# Metoden skal være »raid«.
#d-i partman-auto/method string raid
# Specificer diskene der skal partitioneres. De får alle samme layout,
# så dette vil kun fungere hvis diskene er af samme størrelse.
#d-i partman-auto/disk string /dev/sda /dev/sdb

# Derefter skal du angive de fysiske partitioner. 
#d-i partman-auto/expert_recipe string \
#      multiraid ::                                         \
#              1000 5000 4000 raid                          \
#                      $primary{ } method{ raid }           \
#              .                                            \
#              64 512 300% raid                             \
#                      method{ raid }                       \
#              .                                            \
#              500 10000 1000000000 raid                    \
#                      method{ raid }                       \
#              .

# Til sidst skal du angive hvordan de tidligere definerede partionerer skal
# bruges i RAID-opsætningen. Husk at bruge de korrekte partitionsnumre
# for logiske partitioner. RAID-niveauerne 0, 1, 5, 6 og 10 er understøttet;
# enheder adskilles med »#«.
# Parametre er:
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
#          <devices> <sparedevices>

#d-i partman-auto-raid/recipe string \
#    1 2 0 ext3 /                    \
#          /dev/sda1#/dev/sdb1       \
#    .                               \
#    1 2 0 swap -                    \
#          /dev/sda5#/dev/sdb5       \
#    .                               \
#    0 2 0 ext3 /home                \
#          /dev/sda6#/dev/sdb6       \
#    .

# Se filen partman-auto-raid-recipe.txt for yderligere information
# inkluderet i pakken »debian-installer« eller tilgængelig fra D-I-
# kildearkivet.

# Denne opsætning får partman til automatisk at partitionere uden bekræftelse.
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

B.4.7.3. Kontrol af hvordan partitionerne monteres

Normally, filesystems are mounted using a universally unique identifier (UUID) as a key; this allows them to be mounted properly even if their device name changes. UUIDs are long and difficult to read, so, if you prefer, the installer can mount filesystems based on the traditional device names, or based on a label you assign. If you ask the installer to mount by label, any filesystems without a label will be mounted using a UUID instead.

Enheder med stabile navne, såsom LVM logiske diskenehder, vil fortsætte med at bruge deres traditionelle navne frem for UUID'er.

[Advarsel] Advarsel

Traditionelle enhedsnavne kan ændre sig baseret på rækkefølgen hvormed kernen registrerer enheder ved opstart, hvilket kan medføre at det forkerte filsystem monteres. Tilsvarende vil etikettter ramle sammen, hvis vi tilslutter en ny disk eller et USB-drev og hvis det sker, vil dit systems opførsel, når startet, være tilfældigt.

# Standarden er at montere efter UUID, men du kan også vælge »traditional«
# brug traditionelle enhedsnavne, eller »label« for at prøve filsystemetiketter
# af før der faldes tilbage til UUID'er.
#d-i partman/mount_style select uuid

B.4.8. Installation af det grundlæggende system

Der er faktisk ikke meget som kan forhåndskonfigureres på dette trin af installationen. De eneste spørgsmål, der stilles, vedrører installationen af kernen.

# Konfigurer APT til ikke at installere anbefalede pakker som standard. Brug
# af denne indstilling medføre et ufuldstændigt system og bør kun bruges af
# meget erfarne brugere.
#d-i base-installer/install-recommends boolean false

# (Meta)pakken for kerneaftryk at installere; »none« kan bruges hvis ingen
# kerne skal installeres.
#d-i base-installer/kernel/image string linux-image-686

B.4.9. Apt-opsætning

Opsætning af /etc/apt/sources.list og grundlæggende konfigurationsindstillinger er fuldt automatiseret baseret på din installationsmetode og svarer til tidligere spørgsmål. Du kan valgfrit tilføje andre (lokale) arkiver.

# Choose, if you want to scan additional installation media
# (default: false).
d-i apt-setup/cdrom/set-first boolean false
# You can choose to install non-free and contrib software.
#d-i apt-setup/non-free boolean true
#d-i apt-setup/contrib boolean true
# Uncomment the following line, if you don't want to have the sources.list
# entry for a DVD/BD installation image active in the installed system
# (entries for netinst or CD images will be disabled anyway, regardless of
# this setting).
#d-i apt-setup/disable-cdrom-entries boolean true
# Uncomment this if you don't want to use a network mirror.
#d-i apt-setup/use_mirror boolean false
# Select which update services to use; define the mirrors to be used.
# Values shown below are the normal defaults.
#d-i apt-setup/services-select multiselect security, updates
#d-i apt-setup/security_host string security.debian.org

# Additional repositories, local[0-9] available
#d-i apt-setup/local0/repository string \
#       http://local.server/debian stable main
#d-i apt-setup/local0/comment string local server
# Enable deb-src lines
#d-i apt-setup/local0/source boolean true
# URL to the public key of the local repository; you must provide a key or
# apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out.
#d-i apt-setup/local0/key string http://local.server/key
# If the provided key file ends in ".asc" the key file needs to be an
# ASCII-armoured PGP key, if it ends in ".gpg" it needs to use the
# "GPG key public keyring" format, the "keybox database" format is
# currently not supported.

# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
#d-i debian-installer/allow_unauthenticated boolean true

# Uncomment this to add multiarch configuration for i386
#d-i apt-setup/multiarch string i386

B.4.10. Pakkevalg

Du kan vælge at installere enhver kombination af opgaver, som er tilgængelige. Tilgængelige opgaver, da dette skrives, inkluderer:

  • standard (standardværktøjer)

  • desktop (grafisk skrivebord)

  • gnome-desktop (GNOME-skrivebord)

  • xfce-desktop (XFCE-skrivebord)

  • kde-desktop (KDE Plasma-skrivebord)

  • cinnamon-desktop (Cinnamonskrivebord)

  • mate-desktop (MATE-skrivebord)

  • lxde-desktop (LXDE-skrivebord)

  • web-server (netserver)

  • ssh-server (SSH-server)

Du kan også vælge ikke at installere opgaver og tvinge installationen af et sæt af pakke igennem på en anden måde. Vi anbefaler altid inkludering af standardopgaven.

Or if you don't want the tasksel dialog to be shown at all, preseed pkgsel/run_tasksel (no packages are installed via tasksel in that case).

Hvis du ønsker at installere nogle individuelle pakker udover pakkerne installeret af tasks, så kan du bruge parameteren pkgsel/include. Værdien for denne parameter kan være en liste af pakker adskilt af enten kommaer eller mellemrum, som gør at den kan nemt kan bruges på kernes kommandolinje.

#tasksel tasksel/first multiselect standard, web-server, kde-desktop

# Or choose to not get the tasksel dialog displayed at all (and don't install
# any packages):
#d-i pkgsel/run_tasksel boolean false

# Individual additional packages to install
#d-i pkgsel/include string openssh-server build-essential
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
#d-i pkgsel/upgrade select none

# You can choose, if your system will report back on what software you have
# installed, and what software you use. The default is not to report back,
# but sending reports helps the project determine what software is most
# popular and should be included on the first CD/DVD.
#popularity-contest popularity-contest/participate boolean false

B.4.11. Afslutning af installationen

# Under installationer fra seriel konsol, er den normale virtuelle konsol
# (VT1-VT6) normalt deaktiveret i /etc/inittab. Aktiver den næste linje for
# at forhindre dette.
#d-i finish-install/keep-consoles boolean true

# Undgå den sidste besked om at installationen er færdig.
d-i finish-install/reboot_in_progress note

# Dette vil forhindre installationsprogrammet i at skubbe cd'en ud under
# genstarten, hvilket er nyttigt i nogle situationer.
#d-i cdrom-detect/eject boolean false

# Sådan lukkes installationsprogrammet ned, når det er færdigt, men undgår
# at genstarte i det installerede system.
#d-i debian-installer/exit/halt boolean true
# Dette vil slukke for strømmen i stedet for bare at stoppe det.
#d-i debian-installer/exit/poweroff boolean true

B.4.12. Forhåndskonfiguration af andre pakker

# Afhængig af hvilke programmer du vælger at installere, eller hvis noget
# går galt under installationsprocessen, så er det muligt at andre spørgsmål
# kan stilles. Du kan selvfølgelig også forhåndskonfigurere disse. For en liste
# over alle de mulige spørgsmål, der kan stilles under en installation, udføres
# en installation, og disse kommandoer afvikles:
#   debconf-get-selections --installer > file
#   debconf-get-selections >> file


[20] Forhåndskonfiguration af locale til en_NL vil for eksempel medføre en_US.UTF-8 som standardsted for det installerede system. Hvis f.eks. en_GB.UTF-8 foretrækkes i stedet for, så skal værdierne forhåndskonfigureres individuelt.