summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-27 01:19:36 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-27 01:19:36 +0100
commitb939d370f2720f761ac7c6dfe0041ebfd64c1b79 (patch)
tree30dedc5a8da97d826969369e5b7ada12bf667c90 /roles/bootstrap/templates
parenta0d80d2f27c868dbf5cbfa054bc3190fe4a83666 (diff)
Add boot args that allow gpu and other mac locked features on linux
Diffstat (limited to 'roles/bootstrap/templates')
-rw-r--r--roles/bootstrap/templates/refind.conf.j25
-rw-r--r--roles/bootstrap/templates/refind_linux.conf.j22
2 files changed, 7 insertions, 0 deletions
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 %}"