summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-04-21 10:59:51 +0200
committerAhmed Abdelhalim <[email protected]>2026-04-21 10:59:51 +0200
commit0cf14592eb7234815304f818dffec43252eea43c (patch)
tree1580ab495815337c621582df27e2ea05619aaeeb
parent019e9bd7281b303d8c1d27e3d1ceba1c6b1cc774 (diff)
Update the rEFInd boot menu to use the distro name
This allows better description with the dual boot entries
-rw-r--r--roles/bootstrap/templates/refind_linux.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/bootstrap/templates/refind_linux.conf.j2 b/roles/bootstrap/templates/refind_linux.conf.j2
index c5e9942..9b5868b 100644
--- a/roles/bootstrap/templates/refind_linux.conf.j2
+++ b/roles/bootstrap/templates/refind_linux.conf.j2
@@ -1,2 +1,2 @@
-"Boot with defaults" "root=PARTLABEL={{ partition_root.name }} rw console=tty1{% if bootstrap_mac %} {{ bootstrap_mac_boot_args }}{% endif %}"
-"Boot to terminal" "root=PARTLABEL={{ partition_root.name }} rw console=tty1 systemd.unit=multi-user.target{% if bootstrap_mac %} {{ bootstrap_mac_boot_args }}{% endif %}"
+"{{ ansible_facts['distribution'] }}" "root=PARTLABEL={{ partition_root.name }} rw console=tty1{% if bootstrap_mac %} {{ bootstrap_mac_boot_args }}{% endif %}"
+"{{ ansible_facts['distribution'] }} (terminal)" "root=PARTLABEL={{ partition_root.name }} rw console=tty1 systemd.unit=multi-user.target{% if bootstrap_mac %} {{ bootstrap_mac_boot_args }}{% endif %}"