From b939d370f2720f761ac7c6dfe0041ebfd64c1b79 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 27 Feb 2026 01:19:36 +0100 Subject: Add boot args that allow gpu and other mac locked features on linux --- roles/bootstrap/templates/refind.conf.j2 | 5 +++++ roles/bootstrap/templates/refind_linux.conf.j2 | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 roles/bootstrap/templates/refind.conf.j2 create mode 100644 roles/bootstrap/templates/refind_linux.conf.j2 (limited to 'roles/bootstrap/templates') diff --git a/roles/bootstrap/templates/refind.conf.j2 b/roles/bootstrap/templates/refind.conf.j2 new file mode 100644 index 0000000..995ae1e --- /dev/null +++ b/roles/bootstrap/templates/refind.conf.j2 @@ -0,0 +1,5 @@ +timeout 5 +textonly true +{% if bootstrap_mac %} +spoof_osx_version 12.7 +{% endif %} diff --git a/roles/bootstrap/templates/refind_linux.conf.j2 b/roles/bootstrap/templates/refind_linux.conf.j2 new file mode 100644 index 0000000..c5e9942 --- /dev/null +++ b/roles/bootstrap/templates/refind_linux.conf.j2 @@ -0,0 +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 %}" -- cgit v1.2.3