Personnalisation du nom dans les templates cubic

This commit is contained in:
Navas 2024-10-19 13:25:49 +02:00
parent b9fe43a5e5
commit 60031d72cd
3 changed files with 13 additions and 11 deletions

View file

@ -3,19 +3,18 @@ loadfont unicode
set color_normal=white/black
set color_highlight=black/light-gray
menuentry "Linux Mint 22 Cinnamon Libretic - Live" --class linuxmint {
menuentry "Linux Mint 22 Cinnamon {{ custom_version_name }} - Live" --class linuxmint {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper username=mint hostname=mint iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.gz
}
menuentry "Linux Mint 22 Cinnamon Libretic - Live (compatibility mode)" {
linux /casper/vmlinuz boot=casper username=mint hostname=mint iso-scan/filename=${iso_path} noapic noacpi nosplash irqpoll nomodeset --
{{ custom_version_name }} linux {{ custom_version_name }} /casper/vmlinuz boot=casper username=mint hostname=mint iso-scan/filename=${iso_path} noapic noacpi nosplash irqpoll nomodeset --
initrd /casper/initrd.gz
}
{% for item in preseed_versions %}
menuentry "Linux Mint 22 Cinnamon Libretic - Autoinstall {{ item.boot_entry_name }}" --class linuxmint {
menuentry "Linux Mint 22 Cinnamon {{ custom_version_name }} - Autoinstall {{ item.boot_entry_name }}" --class linuxmint {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/libretic-{{ item.boot_entry_name }}.ks auto=true priority=critical debian-installer/locale=fr_FR keyboard-configuration/layoutcode=fr ubiquity/reboot=casper languagechooser/language-name=French countrychooser/shortlist=FR localechooser/supported-locales=fr_FR.UTF-8 boot=casper automatic-ubiquity initrd=/casper/initrd.gz quiet splash noprompt noshell --
linux /casper/vmlinuz file=/cdrom/preseed/autoinstall-{{ item.boot_entry_name }}.ks auto=true priority=critical debian-installer/locale=fr_FR keyboard-configuration/layoutcode=fr ubiquity/reboot=casper languagechooser/language-name=French countrychooser/shortlist=FR localechooser/supported-locales=fr_FR.UTF-8 boot=casper automatic-ubiquity initrd=/casper/initrd.gz quiet splash noprompt noshell --
initrd /casper/initrd.gz
}
{% endfor %}

View file

@ -2,7 +2,7 @@
timeout 100
menu background splash.png
menu title Bienvenue sur Linux Mint 22 64-bit - Libretic
menu title Bienvenue sur Linux Mint 22 64-bit - {{ custom_version_name }}
menu color screen 37;40 #80ffffff #00000000 std
MENU COLOR border 30;44 #40ffffff #a0000000 std
@ -25,21 +25,21 @@ MENU HELPMSGENDROW 29
label live
menu label Linux Mint 22 Libretic - Live
menu label Linux Mint 22 {{ custom_version_name }} - Live
menu default
kernel /casper/vmlinuz
append boot=casper initrd=/casper/initrd.gz username=mint hostname=mint quiet splash --
label compat
menu label Linux Mint 22 Libretic - Live (compatibility mode)
menu label Linux Mint 22 {{ custom_version_name }} - Live (compatibility mode)
linux /casper/vmlinuz
append boot=casper initrd=/casper/initrd.gz username=mint hostname=mint noapic noacpi nosplash irqpoll nomodeset --
{% for item in preseed_versions %}
label libretic{{ item.boot_entry_name }}
menu label Linux Mint 22 Libretic - Autoinstall {{ item.boot_entry_name }}
label {{ item.boot_entry_name }}
menu label Linux Mint 22 {{ custom_version_name }} - Autoinstall {{ item.boot_entry_name }}
kernel /casper/vmlinuz
append file=/cdrom/preseed/libretic-{{ item.boot_entry_name }}.ks auto=true priority=critical debian-installer/locale=fr_FR keyboard-configuration/layoutcode=fr ubiquity/reboot=casper languagechooser/language-name=French countrychooser/shortlist=FR localechooser/supported-locales=fr_FR.UTF-8 boot=casper automatic-ubiquity initrd=/casper/initrd.gz quiet splash noprompt noshell --
append file=/cdrom/preseed/autoinstall-{{ item.boot_entry_name }}.ks auto=true priority=critical debian-installer/locale=fr_FR keyboard-configuration/layoutcode=fr ubiquity/reboot=casper languagechooser/language-name=French countrychooser/shortlist=FR localechooser/supported-locales=fr_FR.UTF-8 boot=casper automatic-ubiquity initrd=/casper/initrd.gz quiet splash noprompt noshell --
{% endfor %}
label hdt

View file

@ -1,3 +1,6 @@
# Personnalisation du nom affiché dans les menus d'installation (grub...)
custom_version_name: Libretic
# Définit, dans le cas d'une installation automatisée, les divers types
# de disque dur pour lesquels créer une section dans le menu de démarrage
preseed_versions: