#_preseed_V1 #### Contents of the preconfiguration file (for buster) ### Localization # Preseeding only locale sets language, country and locale. d-i debian-installer/fallbacklocale select fr_FR.UTF-8 d-i debian-installer/locale select fr_FR.UTF-8 # Keyboard selection. d-i keyboard-configuration/xkb-keymap select fr d-i console-keymaps-at/keymap select fr-latin9 d-i debian-installer/keymap string fr-latin9 ### Network configuration # 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 # 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 unasseigned-hostname ### Mirror settings # If you select ftp, the mirror/country string does not need to be set. d-i mirror/country string manual d-i mirror/http/hostname string ftp.fr.debian.org d-i mirror/http/directory string /debian d-i mirror/http/proxy string ### Account setup # Skip creation of a root account (normal user account will be able to # use sudo). d-i passwd/root-login boolean false # Alternatively, to skip creation of a normal user account. #d-i passwd/make-user boolean false # Root password, either in clear text d-i passwd/root-password password ********** d-i passwd/root-password-again password ********** # or encrypted using a crypt(3) hash. #d-i passwd/root-password-crypted password [crypt(3) hash] # To create a normal user account. d-i passwd/user-fullname string Default User d-i passwd/username string Default # Normal user's password, either in clear text d-i passwd/user-password password ********** d-i passwd/user-password-again password ********** # or encrypted using a crypt(3) hash. #d-i passwd/user-password-crypted password [crypt(3) hash] # Create the first user with the specified UID instead of the default. #d-i passwd/user-uid string 1010 # The user account will be added to some standard initial groups. To # override that, use this. d-i passwd/user-default-groups string audio cdrom video sudo plugdev dip netdev ### Clock and time zone setup # Controls whether or not the hardware clock is set to UTC. d-i clock-setup/utc boolean true # 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/Paris # 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 pool.ntp.org ### Partitioning ## Partitioning example # 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 # 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 ### Description: for internal use; can be preseeded # Default filesystem used for new partitions d-i partman/default_filesystem string ext4 # 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-lvm/new_vg_name string vg00 d-i partman-auto/expert_recipe string \ boot-root :: \ 256 500 320 ext4 \ $primary{ } \ $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ boot } \ mountpoint{ /boot } \ . \ 100% 2048 200% linux-swap \ lv_name{ swap } \ method{ swap } format{ } \ $lvmok{ } \ . \ 10000 40960 25% ext4 \ lv_name{ root } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ root } \ mountpoint{ / } \ options/relatime{ relatime } \ options/errors{ errors=remount-ro } \ $lvmok{ } \ . \ 4000 16384 10% ext4 \ lv_name{ home } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ home } \ mountpoint{ /home } \ options/nodev{ nodev } \ options/relatime{ relatime } \ $lvmok{ } \ . \ 10000 40960 25% ext4 \ lv_name{ var } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ var } \ mountpoint{ /var } \ options/relatime{ relatime } \ $lvmok{ } \ . \ 4000 16384 10% ext4 \ lv_name{ var_log } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ log } \ mountpoint{ /var/log } \ options/nodev{ nodev } \ options/nosuid{ nosuid } \ options/noexec{ noexec } \ options/relatime{ relatime } \ $lvmok{ } \ . \ 4000 16384 10% ext4 \ lv_name{ var_log_audit } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ audit } \ mountpoint{ /var/log/audit } \ options/relatime{ relatime } \ $lvmok{ } \ . \ 2000 8192 5% ext4 \ lv_name{ var_tmp } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ vartmp } \ mountpoint{ /var/tmp } \ options/nodev{ nodev } \ options/nosuid{ nosuid } \ options/noexec{ noexec } \ options/relatime{ relatime } \ $lvmok{ } \ . \ 2000 2048 5% ext4 \ lv_name{ tmp } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ label{ tmp } \ mountpoint{ /tmp } \ options/nodev{ nodev } \ options/nosuid{ nosuid } \ options/noexec{ noexec } \ options/relatime{ relatime } \ $lvmok{ } \ . # 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-lvm/confirm boolean true d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/confirm_nooverwrite boolean true ### Description: Keep current partition layout and configure LVM? # After the Logical Volume Manager is configured, no additional changes # to the partitions in the disks containing physical volumes are # allowed. Please decide if you are satisfied with the current # partitioning scheme in these disks before continuing. d-i partman-lvm/confirm_nochanges boolean false # You now have the option to scan additional CDs or DVDs for use by the # package manager (apt). Normally these should be from the same set as the # installation CD/DVD. If you do not have any additional CDs or DVDs # available, this step can just be skipped. # . # If you wish to scan another CD or DVD, please insert it now. d-i apt-setup/cdrom/set-first boolean false ### Description: for internal use; can be preseeded # When set to true, apt-setup always disables cdrom entries from APT's # configuration. Otherwise, it disables them only when a netinst image # has been used. # . # This option can be preseeded for automated installations that should # not reference the installation media in the target system. d-i apt-setup/disable-cdrom-entries boolean false ### Base system installation # Configure APT to not install recommended packages by default. Use of this # option can result in an incomplete system and should only be used by very # experienced users. #d-i base-installer/install-recommends boolean false # The kernel image (meta) package to be installed; "none" can be used if no # kernel is to be installed. d-i base-installer/kernel/image string linux-image-amd64 ### Apt setup # 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 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, release updates d-i apt-setup/security_host string security.debian.org ### Description: Enable source repositories in APT? # By default source repositories are listed in /etc/apt/sources.list (with # appropriate "deb-src" lines) so that "apt-get source" works. However, if # you don't need this feature, you can disable those entries and save some # bandwidth during "apt-get update" operations. d-i apt-setup/enable-source-repositories boolean true ### Description: Drivers to include in the initrd: # The primary function of an initrd is to allow the kernel to mount the # root file system. It therefore needs to contain all drivers and supporting # programs required to do that. # . # A generic initrd is much larger than a targeted one and may even be so # large that some boot loaders are unable to load it but has the advantage that # it can be used to boot the target system on almost any hardware. With the # smaller targeted initrd there is a very small chance that not all needed # drivers are included. d-i base-installer/initramfs-tools/driver-policy select include all available drivers # Possible choices: generic: include all available drivers, targeted: only include drivers needed for this system ### Package selection d-i tasksel/first multiselect standard d-i tasksel/remove multiselect desktop #d-i tasksel/tasks multiselect none #d-i tasksel/desktop multiselect none # Individual additional packages to install # Pour la configuration de wireshark d-i wireshark-common/install-setuid boolean false # Pour la configuration de console-data d-i console-data/keymap/policy Select keymap from arch list d-i console-data/keymap/family select azerty d-i console-data/keymap/template/layout select French # d-i console-data/keymap/template/variant select d-i pkgsel/include string apt \ aide \ aide-common \ apparmor-profiles \ apparmor-profiles-extra \ apparmor-utils \ apt-show-versions \ apt-transport-https \ audispd-plugins \ auditd \ bsd-mailx \ chafa \ cifs-utils \ console-common \ console-data \ cracklib-runtime \ curl \ dateutils \ dirmngr \ dmeventd \ dnsutils \ dselect \ elinks \ elinks-data \ elinks-doc \ exim4-base \ exim4-config \ exim4-daemon-light \ exuberant-ctags \ fakeroot \ fontconfig-config \ fonts-dejavu-core \ fonts-droid-fallback \ fonts-noto-mono \ genisoimage \ ghostscript \ gnupg \ gnupg2 \ gnupg-l10n \ gnupg-utils \ gpg \ gpg-agent \ gpgconf \ gpgsm \ gpg-wks-client \ gpg-wks-server \ gpm \ grc \ gsfonts \ imagemagick-6-common \ ipcalc \ keyutils \ links \ lshw \ lvm2 \ lynx \ lynx-common \ man \ manpages-dev \ mlocate \ neofetch \ net-tools \ nmap \ nmap-common \ openssh-server \ patch \ perl-openssl-defaults:amd64 \ pinentry-curses \ poppler-data \ prelude-utils \ psmisc \ pwgen \ python3-apparmor \ python3-libapparmor \ rsync \ sudo \ syslinux-utils \ tcpdump \ tree \ tshark \ ulogd2 \ unzip \ vim \ vim-doc \ vim-runtime \ whois \ wireshark-common \ wireshark-doc # Whether to upgrade packages after debootstrap. # Allowed values: none, safe-upgrade, full-upgrade #d-i pkgsel/upgrade select safe-upgrade # Some versions of the installer can 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 include it on CDs. popularity-contest popularity-contest/participate boolean false ### Boot loader installation # Grub is the default boot loader (for x86). If you want lilo installed # instead, uncomment this: #d-i grub-installer/skip boolean true # To also skip installing lilo, and install no bootloader, uncomment this # too: #d-i lilo-installer/skip boolean true # This is fairly safe to set, it makes grub install automatically to the MBR # if no other operating system is detected on the machine. d-i grub-installer/only_debian boolean true # Due notably to potential USB sticks, the location of the MBR can not be # determined safely in general, so this needs to be specified: d-i grub-installer/bootdev string /dev/sda # To install to the first device (assuming it is not a USB stick): #d-i grub-installer/bootdev string default # Avoid that last message about the install being complete. d-i finish-install/reboot_in_progress note # 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 # packages and run commands in the target system. #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh #d-i preseed/late_command string in-target /cdrom/scripts/update-fstab.sh d-i preseed/late_command string \ sh /cdrom/scripts/update-sudo.sh; \ sh /cdrom/scripts/update-filesystems.sh; \ in-target aideinit; \ sh /cdrom/scripts/update-bootsettings.sh