updated pressed script
This commit is contained in:
parent
34925e2351
commit
f85c5bc863
|
@ -2,9 +2,7 @@
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
||||||
|
|
||||||
# This preseed file includes configuration settings for a custom repository,
|
#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
|
||||||
# as well as enabling the "contrib" and "non-free" components. Additionally,
|
|
||||||
# automatic responses to the Debian popularity contest are disabled
|
|
||||||
|
|
||||||
# Add your custom repositories
|
# Add your custom repositories
|
||||||
d-i apt-setup/local0/repository string \
|
d-i apt-setup/local0/repository string \
|
||||||
|
@ -23,8 +21,21 @@ d-i apt-setup/non-free-firmware boolean true
|
||||||
# Select which update services to use; define the mirrors to be used.
|
# Select which update services to use; define the mirrors to be used.
|
||||||
# Values shown below are the normal defaults.
|
# Values shown below are the normal defaults.
|
||||||
#d-i apt-setup/services-select multiselect security, updates
|
#d-i apt-setup/services-select multiselect security, updates
|
||||||
#d-i apt-setup/security_host string security.debian.org
|
#d-i apt-setup/security_host string deb.devuan.org/merged
|
||||||
|
|
||||||
# Remove popularity-contest
|
# Remove popularity-contest
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
|
# 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; \
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
||||||
|
|
||||||
# This preseed file includes configuration settings for a custom repository,
|
#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
|
||||||
# as well as enabling the "contrib" and "non-free" components. Additionally,
|
|
||||||
# automatic responses to the Debian popularity contest are disabled
|
|
||||||
|
|
||||||
# Add your custom repositories
|
# Add your custom repositories
|
||||||
d-i apt-setup/local0/repository string \
|
d-i apt-setup/local0/repository string \
|
||||||
|
@ -23,8 +21,21 @@ d-i apt-setup/non-free-firmware boolean true
|
||||||
# Select which update services to use; define the mirrors to be used.
|
# Select which update services to use; define the mirrors to be used.
|
||||||
# Values shown below are the normal defaults.
|
# Values shown below are the normal defaults.
|
||||||
#d-i apt-setup/services-select multiselect security, updates
|
#d-i apt-setup/services-select multiselect security, updates
|
||||||
#d-i apt-setup/security_host string security.debian.org
|
#d-i apt-setup/security_host string deb.devuan.org/merged
|
||||||
|
|
||||||
# Remove popularity-contest
|
# Remove popularity-contest
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
|
# 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; \
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
||||||
|
|
||||||
# This preseed file includes configuration settings for a custom repository,
|
#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
|
||||||
# as well as enabling the "contrib" and "non-free" components. Additionally,
|
|
||||||
# automatic responses to the Debian popularity contest are disabled
|
|
||||||
|
|
||||||
# Add your custom repositories
|
# Add your custom repositories
|
||||||
d-i apt-setup/local0/repository string \
|
d-i apt-setup/local0/repository string \
|
||||||
|
@ -23,8 +21,21 @@ d-i apt-setup/non-free-firmware boolean true
|
||||||
# Select which update services to use; define the mirrors to be used.
|
# Select which update services to use; define the mirrors to be used.
|
||||||
# Values shown below are the normal defaults.
|
# Values shown below are the normal defaults.
|
||||||
#d-i apt-setup/services-select multiselect security, updates
|
#d-i apt-setup/services-select multiselect security, updates
|
||||||
#d-i apt-setup/security_host string security.debian.org
|
#d-i apt-setup/security_host string deb.devuan.org/merged
|
||||||
|
|
||||||
# Remove popularity-contest
|
# Remove popularity-contest
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
|
# 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; \
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
||||||
|
|
||||||
# This preseed file includes configuration settings for a custom repository,
|
#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.
|
||||||
# as well as enabling the "contrib" and "non-free" components. Additionally,
|
|
||||||
# automatic responses to the Debian popularity contest are disabled
|
|
||||||
|
|
||||||
# Add your custom repositories
|
# Add your custom repositories
|
||||||
d-i apt-setup/local0/repository string \
|
d-i apt-setup/local0/repository string \
|
||||||
|
@ -27,3 +25,16 @@ d-i apt-setup/security_host string security.debian.org
|
||||||
# Remove popularity-contest
|
# Remove popularity-contest
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
|
# 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; \
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue