PepMiniiso/pepinstaller/preseed/preseed.cfg

41 lines
2.0 KiB
INI
Raw Normal View History

2023-04-03 18:59:20 +00:00
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
2023-04-07 12:35:23 +00:00
#This preseed file includes configuration settings for a custom repository with the 'contrib' and 'non-free' components #enabled, as well as disabling the automatic response to the Debian popularity contest. In addition, it configures #various options for the Grub bootloader, including the timeout, command line parameters, and splash screen settings #etc.
2023-03-23 11:29:15 -01:00
# Add your custom repositories
d-i apt-setup/local0/repository string \
2023-04-03 18:59:20 +00:00
http://repo.peppermintos.com/packages bookworm main contrib non-free non-free-firmware
2023-03-23 11:29:15 -01:00
d-i apt-setup/local0/comment string PeppermintOS repository
d-i apt-setup/local0/source boolean true
# URL to the public key of the local repository
2023-03-23 15:48:38 -01:00
d-i apt-setup/local0/key string http://repo.peppermintos.com/packages/conf/peppermint-keyring.gpg
2023-03-23 11:29:15 -01:00
2023-03-28 12:48:46 +00:00
# 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
2023-04-03 18:59:20 +00:00
# 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
2023-03-23 11:29:15 -01:00
# Remove popularity-contest
popularity-contest popularity-contest/participate boolean false
2023-04-07 12:35:23 +00:00
# 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 \
echo "Editing default grub file"; \
echo "GRUB_TIMEOUT=5" >> /target/etc/default/grub; \
echo "GRUB_DISTRIBUTOR="Peppermint"" >> /target/etc/default/grub; \
echo "GRUB_DISABLE_OS_PROBER=false" >> /target/etc/default/grub; \
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"" >> /target/etc/default/grub; \
echo "GRUB_CMDLINE_LINUX=\"\"" >> /target/etc/default/grub; \
chroot /target /usr/sbin/update-grub; \