ADD
This commit is contained in:
109
preseed-user.cfg
109
preseed-user.cfg
@@ -8,6 +8,8 @@
|
||||
#
|
||||
d-i auto-install/enable boolean true
|
||||
d-i preseed/interactive boolean true
|
||||
d-i localechooser/translation/warn-light boolean true
|
||||
d-i localechooser/translation/warn-severe boolean true
|
||||
#
|
||||
# Set prioritys
|
||||
d-i debconf/priority string high
|
||||
@@ -80,39 +82,22 @@ d-i netcfg/get_domain string
|
||||
#d-i debconf/priority string high
|
||||
|
||||
### Localization
|
||||
|
||||
# TEST OK
|
||||
#
|
||||
# Language and locale
|
||||
#d-i debian-installer/language string da
|
||||
#d-i debian-installer/country string DK
|
||||
#d-i debian-installer/locale string da_DK.UTF-8
|
||||
|
||||
# Keyboard configuration
|
||||
#d-i keyboard-configuration/xkb-keymap select dk
|
||||
#d-i keyboard-configuration/variant select Danish
|
||||
#d-i keyboard-configuration/layoutcode string dk
|
||||
#d-i keyboard-configuration/layout select da
|
||||
|
||||
# Preseeding only locale sets language, country and locale.
|
||||
#d-i debian-installer/locale string da_DK.UTF-8
|
||||
d-i localechooser/translation/warn-light boolean true
|
||||
d-i localechooser/translation/warn-severe boolean true
|
||||
#
|
||||
# FROM sudo debconf-get-selections --installer
|
||||
#d-i debconf/language string da
|
||||
#
|
||||
#
|
||||
#
|
||||
# The values can also be preseeded individually for greater flexibility.
|
||||
#d-i debian-installer/locale string da_DK.UTF-8
|
||||
#d-i debian-installer/language string da
|
||||
#d-i debian-installer/country string DK
|
||||
d-i debian-installer/language string da
|
||||
d-i debian-installer/country string DK
|
||||
d-i debian-installer/locale string da_DK.UTF-8
|
||||
|
||||
# Locale sets language, country and locale.
|
||||
d-i debian-installer/locale string da_DK.UTF-8
|
||||
# Optionally specify additional locales to be generated.
|
||||
#d-i localechooser/supported-locales multiselect en_US.UTF-8, da_DK.UTF-8
|
||||
|
||||
# Keyboard selection.
|
||||
#d-i keyboard-configuration/xkb-keymap select dk
|
||||
#
|
||||
# Keyboard configuration
|
||||
d-i keyboard-configuration/xkb-keymap select dk
|
||||
d-i keyboard-configuration/variant select Danish
|
||||
d-i keyboard-configuration/layoutcode string dk
|
||||
d-i keyboard-configuration/layout select da
|
||||
# d-i keyboard-configuration/toggle select No toggling
|
||||
|
||||
### Speech synthesis
|
||||
@@ -263,14 +248,13 @@ d-i passwd/root-login boolean false
|
||||
|
||||
# You may set this to any valid setting for $TZ; see the contents of
|
||||
# /usr/share/zoneinfo/ for valid values.
|
||||
#d-i time/zone string Europe/Copenhagen
|
||||
d-i time/zone string Europe/Copenhagen
|
||||
|
||||
# Controls whether to use NTP to set the clock during the install
|
||||
d-i clock-setup/ntp boolean true
|
||||
# NTP server to use. The default is almost always fine here.
|
||||
#d-i clock-setup/ntp-server string ntp.example.com
|
||||
d-i clock-setup/ntp-server string 0.pool.ntp.org
|
||||
|
||||
#d-i debconf/priority string critical
|
||||
|
||||
### Partitioning
|
||||
## Partitioning example
|
||||
@@ -294,17 +278,17 @@ d-i clock-setup/ntp boolean true
|
||||
# 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
|
||||
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
|
||||
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
|
||||
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
|
||||
d-i partman-lvm/confirm boolean true
|
||||
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||
|
||||
# You can choose one of the predefined partitioning recipes:
|
||||
# - atomic: all files in one partition
|
||||
@@ -319,6 +303,39 @@ d-i partman-auto/choose_recipe select atomic
|
||||
# just point at it.
|
||||
#d-i partman-auto/expert_recipe_file string /hd-media/recipe
|
||||
|
||||
#d-i partman-auto/expert_recipe string \
|
||||
# boot-root :: \
|
||||
# 538 538 1075 free \
|
||||
# $iflabel{ gpt } \
|
||||
# $reusemethod{ } \
|
||||
# method{ efi } \
|
||||
# format{ } \
|
||||
# . \
|
||||
# 1024 2048 2048 ext4 \
|
||||
# $primary{ } $bootable{ } \
|
||||
# method{ format } format{ } \
|
||||
# use_filesystem{ } filesystem{ ext4 } \
|
||||
# mountpoint{ /boot } \
|
||||
# . \
|
||||
# 45000 52000 -1 ext4 \
|
||||
# method{ format } format{ } \
|
||||
# use_filesystem{ } filesystem{ ext4 } \
|
||||
# mountpoint{ / } \
|
||||
# . \
|
||||
# 256 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:
|
||||
#
|
||||
# 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:
|
||||
@@ -361,10 +378,10 @@ d-i partman-auto/choose_recipe select atomic
|
||||
|
||||
# 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
|
||||
#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
|
||||
@@ -551,8 +568,8 @@ d-i grub-installer/with_other_os boolean true
|
||||
# line to prevent this.
|
||||
#d-i finish-install/keep-consoles boolean true
|
||||
|
||||
# Avoid that last message about the install being complete.
|
||||
d-i finish-install/reboot_in_progress note
|
||||
# Avoid that last message about the install being complete and reboot.
|
||||
#d-i finish-install/reboot_in_progress note
|
||||
|
||||
# This will prevent the installer from ejecting the disc during the reboot,
|
||||
# which is useful in some situations.
|
||||
@@ -586,11 +603,13 @@ d-i finish-install/reboot_in_progress note
|
||||
# This first command is run as early as possible, just after
|
||||
# preseeding is read.
|
||||
#d-i preseed/early_command string anna-install some-udeb
|
||||
#
|
||||
# This command is run immediately before the partitioner starts. It may be
|
||||
# useful to apply dynamic partitioner preseeding that depends on the state
|
||||
# of the disks (which may not be visible when preseed/early_command runs).
|
||||
#d-i partman/early_command \
|
||||
# string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
|
||||
#
|
||||
# This command is run just before the install finishes, but when there is
|
||||
# still a usable /target directory. You can chroot to /target and use it
|
||||
# directly, or use the apt-install and in-target commands to easily install
|
||||
@@ -601,8 +620,8 @@ d-i finish-install/reboot_in_progress note
|
||||
d-i preseed/late_command string apt-install wget sed grep coreutils bash; \
|
||||
NEW_USERHOME=$(grep ":1000:" /target/etc/passwd | cut -d: -f6); \
|
||||
NEW_USERNAME=$(grep ":1000:" /target/etc/passwd | cut -d: -f1); \
|
||||
cp -rfp /cdrom/src/ /target/tmp/; \
|
||||
cp -rfp /cdrom/src/ /target/root/; \
|
||||
cp -rufp /cdrom/src/ /target/tmp/; \
|
||||
cp -rfup /cdrom/src/ /target/root/; \
|
||||
cp -pf /cdrom/install.sh /target/root/install.sh; \
|
||||
in-target /bin/sh /root/install.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user